From ddbe65e8c32cef67f7562b7f02aaf6e9fefb6968 Mon Sep 17 00:00:00 2001 From: owenofbrien <86964623+owenofbrien@users.noreply.github.com> Date: Fri, 15 Aug 2025 10:15:54 -0500 Subject: Add session id to session summary and /bug template (#6313) Co-authored-by: Bryan Morgan --- .../SessionSummaryDisplay.test.tsx.snap | 5 ++++ .../__snapshots__/StatsDisplay.test.tsx.snap | 30 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) (limited to 'packages/cli/src/ui/components/__snapshots__') diff --git a/packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap index c9b2bd64..98e7722e 100644 --- a/packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/SessionSummaryDisplay.test.tsx.snap @@ -5,6 +5,11 @@ exports[` > renders the summary display with a title 1` │ │ │ Agent powering down. Goodbye! │ │ │ +│ Interaction Summary │ +│ Session ID: │ +│ Tool Calls: 0 ( ✔ 0 ✖ 0 ) │ +│ Success Rate: 0.0% │ +│ │ │ Performance │ │ Wall Time: 1h 23m 45s │ │ Agent Active: 50.2s │ diff --git a/packages/cli/src/ui/components/__snapshots__/StatsDisplay.test.tsx.snap b/packages/cli/src/ui/components/__snapshots__/StatsDisplay.test.tsx.snap index c7c2ec59..09202599 100644 --- a/packages/cli/src/ui/components/__snapshots__/StatsDisplay.test.tsx.snap +++ b/packages/cli/src/ui/components/__snapshots__/StatsDisplay.test.tsx.snap @@ -6,6 +6,7 @@ exports[` > Conditional Color Tests > renders success rate in gr │ Session Stats │ │ │ │ Interaction Summary │ +│ Session ID: test-session-id │ │ Tool Calls: 10 ( ✔ 10 ✖ 0 ) │ │ Success Rate: 100.0% │ │ │ @@ -25,6 +26,7 @@ exports[` > Conditional Color Tests > renders success rate in re │ Session Stats │ │ │ │ Interaction Summary │ +│ Session ID: test-session-id │ │ Tool Calls: 10 ( ✔ 5 ✖ 5 ) │ │ Success Rate: 50.0% │ │ │ @@ -44,6 +46,7 @@ exports[` > Conditional Color Tests > renders success rate in ye │ Session Stats │ │ │ │ Interaction Summary │ +│ Session ID: test-session-id │ │ Tool Calls: 10 ( ✔ 9 ✖ 1 ) │ │ Success Rate: 90.0% │ │ │ @@ -62,6 +65,11 @@ exports[` > Conditional Rendering Tests > hides Efficiency secti │ │ │ Session Stats │ │ │ +│ Interaction Summary │ +│ Session ID: test-session-id │ +│ Tool Calls: 0 ( ✔ 0 ✖ 0 ) │ +│ Success Rate: 0.0% │ +│ │ │ Performance │ │ Wall Time: 1s │ │ Agent Active: 100ms │ @@ -82,6 +90,7 @@ exports[` > Conditional Rendering Tests > hides User Agreement w │ Session Stats │ │ │ │ Interaction Summary │ +│ Session ID: test-session-id │ │ Tool Calls: 2 ( ✔ 1 ✖ 1 ) │ │ Success Rate: 50.0% │ │ │ @@ -100,6 +109,11 @@ exports[` > Title Rendering > renders the custom title when a ti │ │ │ Agent powering down. Goodbye! │ │ │ +│ Interaction Summary │ +│ Session ID: test-session-id │ +│ Tool Calls: 0 ( ✔ 0 ✖ 0 ) │ +│ Success Rate: 0.0% │ +│ │ │ Performance │ │ Wall Time: 1s │ │ Agent Active: 0s │ @@ -115,6 +129,11 @@ exports[` > Title Rendering > renders the default title when no │ │ │ Session Stats │ │ │ +│ Interaction Summary │ +│ Session ID: test-session-id │ +│ Tool Calls: 0 ( ✔ 0 ✖ 0 ) │ +│ Success Rate: 0.0% │ +│ │ │ Performance │ │ Wall Time: 1s │ │ Agent Active: 0s │ @@ -130,6 +149,11 @@ exports[` > renders a table with two models correctly 1`] = ` │ │ │ Session Stats │ │ │ +│ Interaction Summary │ +│ Session ID: test-session-id │ +│ Tool Calls: 0 ( ✔ 0 ✖ 0 ) │ +│ Success Rate: 0.0% │ +│ │ │ Performance │ │ Wall Time: 1s │ │ Agent Active: 19.5s │ @@ -155,6 +179,7 @@ exports[` > renders all sections when all data is present 1`] = │ Session Stats │ │ │ │ Interaction Summary │ +│ Session ID: test-session-id │ │ Tool Calls: 2 ( ✔ 1 ✖ 1 ) │ │ Success Rate: 50.0% │ │ User Agreement: 100.0% (1 reviewed) │ @@ -182,6 +207,11 @@ exports[` > renders only the Performance section in its zero sta │ │ │ Session Stats │ │ │ +│ Interaction Summary │ +│ Session ID: test-session-id │ +│ Tool Calls: 0 ( ✔ 0 ✖ 0 ) │ +│ Success Rate: 0.0% │ +│ │ │ Performance │ │ Wall Time: 1s │ │ Agent Active: 0s │ -- cgit v1.2.3