.qwen/e2e-tests/2026-07-24-generation-stats.md
/statsRun the focused Core tests:
cd packages/core
npx vitest run src/telemetry/uiTelemetry.test.ts
npx vitest run src/core/loggingContentGenerator/loggingContentGenerator.test.ts
Run the focused CLI tests:
cd packages/cli
npx vitest run src/ui/commands/statsCommand.test.ts
npx vitest run src/ui/components/StatsSessionTab.test.tsx
npx vitest run src/ui/contexts/SessionContext.test.tsx
npx vitest run src/i18n/mustTranslateKeys.test.ts
Then run repository verification:
npm run format
npm run lint
npm run build
npm run typecheck
/stats./stats./stats through a non-interactive command surface and confirm the same
metrics appear as text./stats before any streamed response does not show an empty
Generation Metrics section./stats daily, /stats monthly, and /stats export remain unchanged.A released global qwen executable was not available in this environment, so
the before-change manual scenario could not be run. The existing source and
tests establish the baseline: TTFT is emitted to tracing, while /stats has no
generation-timing section.