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 <bryanmorgan@google.com>
---
 packages/cli/src/ui/components/StatsDisplay.test.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'packages/cli/src/ui/components/StatsDisplay.test.tsx')

diff --git a/packages/cli/src/ui/components/StatsDisplay.test.tsx b/packages/cli/src/ui/components/StatsDisplay.test.tsx
index a0ed3858..eed105e3 100644
--- a/packages/cli/src/ui/components/StatsDisplay.test.tsx
+++ b/packages/cli/src/ui/components/StatsDisplay.test.tsx
@@ -24,6 +24,7 @@ const useSessionStatsMock = vi.mocked(SessionContext.useSessionStats);
 const renderWithMockedStats = (metrics: SessionMetrics) => {
   useSessionStatsMock.mockReturnValue({
     stats: {
+      sessionId: 'test-session-id',
       sessionStartTime: new Date(),
       metrics,
       lastPromptTokenCount: 0,
@@ -55,7 +56,7 @@ describe('<StatsDisplay />', () => {
     const output = lastFrame();
 
     expect(output).toContain('Performance');
-    expect(output).not.toContain('Interaction Summary');
+    expect(output).toContain('Interaction Summary');
     expect(output).not.toContain('Efficiency & Optimizations');
     expect(output).not.toContain('Model'); // The table header
     expect(output).toMatchSnapshot();
@@ -289,6 +290,7 @@ describe('<StatsDisplay />', () => {
     it('renders the custom title when a title prop is provided', () => {
       useSessionStatsMock.mockReturnValue({
         stats: {
+          sessionId: 'test-session-id',
           sessionStartTime: new Date(),
           metrics: zeroMetrics,
           lastPromptTokenCount: 0,
-- 
cgit v1.2.3

