Repository navigation
test(qa): cover runtime telemetry evidence - #118950
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 6:03 PM ET / 22:03 UTC. ClawSweeper reviewWhat this changesThis PR adds two QA Lab flow scenarios and an E2E test that verify sanitized QA-bus tool traces and artifact-backed task-progress reporting through a mock OpenAI QA-channel turn. Merge readinessKeep this maintainer-owned PR open for normal QA-owner review. It adds focused, test-only evidence for a real mock-OpenAI plus QA-channel turn; current main has adjacent synthetic bus and direct-agent followthrough scenarios, but not this combined runtime path. No concrete patch defect was found. Priority: P3 Review scores
Verification
How this fits togetherQA Lab discovers YAML scenarios, runs them through a mock OpenAI gateway and qa-channel, then writes structured suite and evidence artifacts. The added tests turn observability scorecard claims into executable proof without changing production runtime behavior. flowchart LR
A[QA scenario YAML] --> B[QA Lab catalog]
B --> C[Mock OpenAI gateway]
C --> D[QA-channel agent turn]
D --> E[QA bus and workspace artifact]
E --> F[Suite and evidence artifacts]
G[E2E assertion] --> F
Decision needed
Why: The patch is coherent and test-only, but the protected maintainer label requires explicit owner handling of the added QA-suite cost and evidence boundary. Before merge
Agent review detailsSecurityNone. PR surfaceTests +121, Other +276. Total +397 across 3 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the existing synthetic and direct-agent scenarios, add this complementary real qa-channel coverage, and land it after any required rebase refresh confirms the same two-scenario runtime proof on the exact head. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds QA evidence rather than repairing a reported current-runtime defect. Its after-fix path is described in the PR body as a two-scenario mock-OpenAI plus qa-channel run. Is this the best way to solve the issue? Yes. The branch complements, rather than replaces, current main's synthetic QA-bus trace scenario and direct-agent followthrough scenario by exercising the real QA-channel route and emitted evidence artifacts together. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 65fa1f9a7bd1. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* origin/main: (90 commits) fix(googlechat): recover durable lanes after oversized attachments (#118986) test(qa): cover runtime telemetry evidence (#118950) fix(gateway): resolve SQLite usage details (#118918) test(cron): cover durable scheduler state (#118981) test(gateway): cover node exec approval relay (#118825) test(qa): add Active Memory recall coverage (#118963) test(qa): promote package-backed Docker artifact proof (#118826) test(qa): cover diagnostic event boundary (#118844) test(gateway): cover WebSocket runtime contracts (#118797) fix(signal): drain accepted websocket messages before shutdown (#118975) fix(plugins): remove stale load paths during uninstall (#118930) test(qa): cover bundled runtime discovery (#118922) chore(clawhub): cover plugin release policy contracts (#118971) test(qa): cover support export and stability (#118956) fix(feishu): enforce exact signed webhook request boundaries (#118758) feat(sms): add Twilio MMS support (#118664) test(gateway): prove TLS certificate pinning (#118812) test(qa): cover tool policy and sandbox gates (#118925) fix(cli): keep update dry-run state immutable (#118856) fix(scripts): honor last repeated CLI flag value (#118710) ... # Conflicts: # pnpm-workspace.yaml
…r-admin-20260803 * origin/main: (89 commits) fix(googlechat): align doctor policy ownership with canonical account configuration (#118972) test(tui): prove editor input through PTY (#118982) fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987) test(qa): cover health monitor and cache boundaries (#118961) fix(macos): restore dashboard frame double-click zoom (#118976) fix(googlechat): recover durable lanes after oversized attachments (#118986) test(qa): cover runtime telemetry evidence (#118950) fix(gateway): resolve SQLite usage details (#118918) test(cron): cover durable scheduler state (#118981) test(gateway): cover node exec approval relay (#118825) test(qa): add Active Memory recall coverage (#118963) test(qa): promote package-backed Docker artifact proof (#118826) test(qa): cover diagnostic event boundary (#118844) test(gateway): cover WebSocket runtime contracts (#118797) fix(signal): drain accepted websocket messages before shutdown (#118975) fix(plugins): remove stale load paths during uninstall (#118930) test(qa): cover bundled runtime discovery (#118922) chore(clawhub): cover plugin release policy contracts (#118971) test(qa): cover support export and stability (#118956) fix(feishu): enforce exact signed webhook request boundaries (#118758) ...
…ansports-20260803 * origin/main: (120 commits) test(ui): add service-worker update primary QA proof (#118805) test(qa): cover CLI onboarding and plugin install sources (#118882) test(qa): cover remote logging boundaries (#118951) fix(sms): retry transient MMS failures before durable adoption (#118994) test(qa): cover video generation invocation (#118864) test(qa): cover media reference intake (#118858) test(qa): cover image generation task lifecycle (#118915) feat(sms): track Twilio delivery status (#118665) test(tasks): cover TaskFlow registry lifecycle (#118983) test(gateway): verify SSH tunnel fallback (#118818) fix(security): harden network tool output at canonical owner boundaries (#118984) fix(googlechat): align doctor policy ownership with canonical account configuration (#118972) test(tui): prove editor input through PTY (#118982) fix(memory): persist trusted owner provenance at canonical transcript boundary (#118987) test(qa): cover health monitor and cache boundaries (#118961) fix(macos): restore dashboard frame double-click zoom (#118976) fix(googlechat): recover durable lanes after oversized attachments (#118986) test(qa): cover runtime telemetry evidence (#118950) fix(gateway): resolve SQLite usage details (#118918) test(cron): cover durable scheduler state (#118981) ...
* test(qa): add telemetry runtime evidence * test(qa): fix telemetry evidence typecheck
What Problem This Solves
The observability scorecard had no primary executable proof that QA Lab records real runtime tool evidence on the QA bus or that task progress claims remain tied to a completed artifact.
Why This Change Was Made
Adds two source-checkout QA scenarios and one companion E2E. The scenarios use a real mock-OpenAI gateway plus qa-channel turn: one validates searchable redacted outbound tool traces, and one validates ordered
read,read,writefollowthrough with the status artifact written before the final Pending/Blocked/Done reply.Scope is test-only: 0 production LOC. It does not touch diagnostics-otel, protocol, doctor, plugin, taxonomy, or QA Lab production code.
Primary coverage:
observability.telemetry-evidenceobservability.telemetry-no-fake-progressobservability.telemetry-qa-busobservability.telemetry-qa-labobservability.telemetry-task-followthroughUser Impact
No shipped runtime behavior changes. Maintainers gain direct QA evidence for runtime telemetry and honest task followthrough.
Evidence
node scripts/run-vitest.mjs extensions/qa-lab/src/scenario-catalog.test.ts: 47/47 passed.git diff --check: passed.tbx_01kz4qnkawz4h4k9605eg6nx0w(run): 1/1 Vitest test and 2/2 runtime scenarios passed. The only later diff removes an unused map parameter; it does not change runtime or assertion behavior.tbx_01kz4rvh6wpf1mbhntk40bqndv(run).d71a8c56586a653499471ed3a5307f9126b00809.ClawSweeper Disposition
AI-assisted: yes. The implementation and assertions were reviewed against the repository QA contracts.