Skip to content

fix(qa): select the renamed diagnostics browser test - #146323

Merged
steipete merged 1 commit into
mainfrom
codex/memory-next-qa-selector
Sep 12, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/memory-next-qa-selector

Conversation

@steipete

Copy link
Copy Markdown
Contributor

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 testNamePattern to 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

  • Reproduced on main 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 with control-ui-health-status-models testNamePattern matches an executable test.
  • After the one-line selector repair, node scripts/run-vitest.mjs extensions/qa-lab/src/test-file-scenario-runner.native.test.ts passes all 20 tests, including the scenario alignment guard, native runner command selection, and named-test evidence validation.
  • Targeted YAML formatting and git diff --check pass. 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.
  • Canonical independent review completed scoped-clean through P2 with no findings.

@clawsweeper

clawsweeper Bot commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 12, 2026 18:54
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 12, 2026
@clawsweeper

clawsweeper Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 12, 2026, 3:00 PM ET / 19:00 UTC.

ClawSweeper review

What this changes

Updates 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
Reviewed head: 26515f67bae1f85790b4471f592f8313134087bd

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct repair supported by an existing regression guard and reported passing validation.
Proof confidence 🌊 off-meta tidepool Not applicable: The maintainer-authored repair is exempt from external-contributor proof requirements; reported guard and runner tests cover selector alignment, while the unchanged browser test was explicitly not rerun.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer-authored repair is exempt from external-contributor proof requirements; reported guard and runner tests cover selector alignment, while the unchanged browser test was explicitly not rerun.
Evidence reviewed 6 items Verified introduced change: The pinned merge-base-to-head diff changes only the scenario selector at line 28; it exactly matches the executable test title at ui/src/e2e/debug-diagnostics.e2e.test.ts:24. The supplied verified test merge also preserves this narrow scope.
Still needed on fetched main: Inspection of the scenario and browser test at fetched main shows the old selector alongside the renamed test, so the mismatch remains. The release-tag scenario also retains the old selector; no shipped correction was established.
Runner consumes the selector directly: The Playwright runner passes testNamePattern as a separate --testNamePattern argument to the existing UI test command. The patch changes neither execution ownership nor evidence validation.
Findings None None.
Security None None.

How this fits together

QA 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Other 0. Total 0 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 1 0
Total 1 1 1 0

Review metrics

None.

Technical review

Best 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.

Labels

Label changes:

  • add P2: Repairs a concrete QA scenario-selection defect with a narrow testing-infrastructure scope.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-authored repair is exempt from external-contributor proof requirements; reported guard and runner tests cover selector alignment, while the unchanged browser test was explicitly not rerun.

Label justifications:

  • P2: Repairs a concrete QA scenario-selection defect with a narrow testing-infrastructure scope.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-authored repair is exempt from external-contributor proof requirements; reported guard and runner tests cover selector alignment, while the unchanged browser test was explicitly not rerun.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 35b237d into main Sep 12, 2026
212 checks passed
@steipete
steipete deleted the codex/memory-next-qa-selector branch September 12, 2026 19:09
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

roboclaw-bot added a commit that referenced this pull request Sep 12, 2026
Include the upstream diagnostics scenario selector correction from #146323. Preserve the existing subagent repair without changing its implementation.

Co-authored-by: VACInc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: qa-lab maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant