Repository navigation
fix(qa): select the renamed diagnostics browser test - #146323
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 12, 2026, 3:00 PM ET / 19:00 UTC. ClawSweeper reviewWhat this changesUpdates the QA scenario’s browser-test selector to match the renamed Control UI diagnostics test. Merge readiness✅ Ready for maintainer review The repair remains necessary on fetched main and correctly restores the existing diagnostics test selection. No actionable patch defects were found. Priority: P2 Review scores
Verification
How this fits togetherQA Lab reads scenario definitions and selects browser tests through the repository’s test runner. The selected diagnostics test checks Gateway snapshots and the Control UI’s display of current work. flowchart LR
A[QA scenario definition] --> B[Test name selector]
B --> C[Browser test runner]
C --> D[Diagnostics browser test]
D --> E[Gateway fixture and Control UI]
E --> F[Assertions and QA evidence]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceOther 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the canonical scenario aligned with the existing browser test and retain the selector-alignment guard. Do we have a high-confidence way to reproduce the issue? Yes: fetched main’s selector cannot match the renamed executable test, and the existing alignment guard directly checks that contract; this review did not run tests. Is this the best way to solve the issue? Yes: updating the existing selector is the smallest repair and preserves the browser assertions and runner safeguards. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 945f0a669811. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Include the upstream diagnostics scenario selector correction from #146323. Preserve the existing subagent repair without changing its implementation. Co-authored-by: VACInc <[email protected]>
Related: #146207
What Problem This Solves
The Control UI diagnostics QA scenario stopped selecting its browser test after #146207 renamed that test. This also fails the QA scenario selector guard in otherwise unrelated PR CI runs.
Why This Change Was Made
Update the existing scenario's
testNamePatternto the current diagnostic test name. The selected browser test still exercises status, health, heartbeat, and model snapshots, together with the current-work behavior added in #146207.User Impact
QA runs can select the diagnostics browser test again, and the scenario alignment guard passes.
Evidence
3b9918507a3633e16f15e7a7624fa31d0c39b097:node scripts/run-vitest.mjs extensions/qa-lab/src/test-file-scenario-runner.native.test.ts --testNamePattern 'keeps every Playwright scenario pattern aligned with an executable test'fails withcontrol-ui-health-status-models testNamePattern matches an executable test.node scripts/run-vitest.mjs extensions/qa-lab/src/test-file-scenario-runner.native.test.tspasses all 20 tests, including the scenario alignment guard, native runner command selection, and named-test evidence validation.git diff --checkpass. The guard parses the canonical YAML scenario pack through its existing schema. The browser test itself is unchanged and was not rerun for this selector-only repair.