Repository navigation
chore: fold WebChat auto TTS proof into QA - #97632
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 28, 2026, 10:58 PM ET / 02:58 UTC. Summary PR surface: Tests +117, Other -108. Total +9 across 4 files. Reproducibility: not applicable. as a bug reproduction. This PR moves an existing proof into QA Lab coverage, and source inspection plus the PR body establish the behavior being covered rather than a failing current-main repro. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Next step before merge
Security Review detailsBest possible solution: Keep this on the normal maintainer review path and land the QA-owned scenario if maintainers agree the two primary coverage claims are the right maturity accounting target. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction. This PR moves an existing proof into QA Lab coverage, and source inspection plus the PR body establish the behavior being covered rather than a failing current-main repro. Is this the best way to solve the issue? Yes. A QA scenario YAML plus Vitest e2e test is the right owner boundary because the scenario catalog supports native Vitest execution paths and avoids leaving the proof as an unindexed standalone repro script. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 00c9ac55d664. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Tests +117, Other -108. Total +9 across 4 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
What Problem This Solves
Resolves a QA maturity accounting gap where the existing WebChat auto-TTS proof lived as a standalone repro script instead of durable QA Lab evidence for existing media coverage IDs.
Why This Change Was Made
This folds
scripts/repro/webchat-auto-tts-live-proof.mjsinto a QA-owned Vitest scenario and deletes the standalone repro path. The scenario claims primary coverage only for existing IDs it directly proves:media.ttsandmedia.outbound-voice-audio-delivery; it intentionally does not claimgateway.webchat-hostingbecause this proof does not exercise a hosted WebChat browser surface.User Impact
Developers and release operators can now count the WebChat auto-TTS proof through
qa suite/qa coverageinstead of rediscovering or manually running an unlinked repro script.Evidence
Primary coverage claims:
media.tts: the QA test enablesmessages.tts, installs a mock speech provider, verifies WebChat block chunks do not synthesize intermediate audio, and verifies the final WebChat tail performs exactly one TTS synthesis with spoken text and trusted local media metadata.media.outbound-voice-audio-delivery: the same final TTS payload is passed through WebChat audio block construction, proving trusted local TTS audio becomes an audio attachment while an untrusted local path is rejected.Validation run:
node scripts/run-vitest.mjs test/e2e/qa-lab/media/webchat-auto-tts.e2e.test.ts extensions/qa-lab/src/scenario-catalog.test.ts --reporter=verbosepnpm openclaw qa suite --provider-mode mock-openai --scenario webchat-auto-tts --output-dir .artifacts/qa-e2e/webchat-auto-ttsnode scripts/run-oxlint.mjs --tsconfig test/tsconfig.json test/e2e/qa-lab/media/webchat-auto-tts.e2e.test.tsnode scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.test.json --pretty false.agents/skills/autoreview/scripts/autoreview --mode local(clean: no accepted/actionable findings)One attempted type probe using
test/tsconfig.jsonfailed because that project setsrootDirtotestand rejects existing source imports; the shared test project above is the relevant passing typecheck.