Repository navigation
test(ui): add credentials primary QA proof - #118790
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 3:01 PM ET / 19:01 UTC. ClawSweeper reviewWhat this changesAdds two Control UI QA scenario records and a Chromium test that verifies token/password credential submission, rejection, and recovery against a deterministic mocked Gateway. Merge readinessKeep open for ordinary Control UI owner review. This member-authored, maintainer-labeled PR adds a focused test-only primary-QA slice; the current branch has no equivalent credentials scenario files, the Chromium test exercises the intended browser boundary, and no patch defect was found. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI login gate collects an operator-selected token or password and passes it to the browser Gateway client, which builds the Gateway connect request. QA Lab scenario records select the focused Chromium test and retain evidence for release-confidence coverage. flowchart LR
A[Operator credentials] --> B[Control UI login gate]
B --> C[Browser Gateway connect request]
C --> D[Mocked Gateway outcome]
D --> E[Visible connected or recovery state]
E --> F[Chromium QA evidence]
F --> G[QA scenario catalog]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +229, Other +63. Total +292 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 this as a narrow browser-credential QA slice, land it after exact-head CI and Control UI owner confirmation, and leave server-side authentication-contract coverage to a separate real-Gateway test when that broader proof is needed. Do we have a high-confidence way to reproduce the issue? Not applicable as a defect report: this PR adds coverage. The source establishes a direct Chromium path from the login gate through the connect payload to visible accepted, rejected, and recovered states. Is this the best way to solve the issue? Yes. Separate scenario records plus one focused browser test are the narrowest maintainable way to add primary evidence without claiming server-side credential validation or changing production behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c37cfb0f260f. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles) |
* origin/main: (25 commits) test(qa): cover plugin authoring contracts (#118821) fix(parallels): keep provider keys out of POSIX job logs (#118840) improve: reduce redundant Code Mode test work (#118815) fix(models): report primary OpenRouter limits in scans (#110855) test: speed up setup inference fixtures (#118811) fix(auto-reply): enforce canonical reset authorization (#118580) docs(gateway): fix invalid heartbeat visibility examples (#118827) fix(plugins): unify HTTP route conflict handling (#118203) test(agents): use prepared auth fixtures (#118816) fix(lmstudio): resolve JIT embedding variants fix(lmstudio): preserve embedding preload and model identity fix(ai): reject binary Codex websocket frames (#111138) fix(deps): bump brace-expansion override to 5.0.9 for HIGH advisory 1130705 (#118804) feat(cli): add session archive and delete commands (#118791) fix(openai): commit eligible final realtime transcription audio safely (#118782) fix(reef): restrict management commands to owners [AI] (#118578) fix(google): honor Cloud SDK credential location and Vertex billing project (#118745) fix(bedrock): preserve private embedding endpoints and AWS routing policy (#118744) fix(voice): make signed callback replay reservations durable and retryable (#118754) fix(openrouter): isolate custom proxy credentials and transport security (#118773) ...
|
@clawsweeper re-review Exact head is now |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
ClawSweeper before-merge items are dispositioned for exact head
|
|
Merged via squash.
|
…-state-mutation * origin/main: (22 commits) fix(delivery): renew stable producer leases (#118663) test(mcp): isolate catalog size checks from wall-clock load (#118871) test(ui): add credentials primary QA proof (#118790) fix(slack): prevent stalled presence polling from hanging shutdown (#117478) test(security): cover gateway shared auth modes (#118834) fix(macos): show gateway auth failures in app status (#118841) test(tui): route PTY gateway scenarios through explicit models (#118802) test(qa): add session transcript primary coverage (#118820) fix(browser): protect private observation media and Canvas trust boundaries (#118775) fix(build): restore SDK packages and signed macOS app builds (#118833) test(qa): cover plugin authoring contracts (#118821) fix(parallels): keep provider keys out of POSIX job logs (#118840) improve: reduce redundant Code Mode test work (#118815) fix(models): report primary OpenRouter limits in scans (#110855) test: speed up setup inference fixtures (#118811) fix(auto-reply): enforce canonical reset authorization (#118580) docs(gateway): fix invalid heartbeat visibility examples (#118827) fix(plugins): unify HTTP route conflict handling (#118203) test(agents): use prepared auth fixtures (#118816) fix(lmstudio): resolve JIT embedding variants ...
Refs #118783
What Problem This Solves
The Control UI device-pairing and token/password-auth taxonomy IDs lacked
executable primary QA proof. A YAML mapping alone could not show that an
operator can complete pairing or that the browser submits the selected
credential and renders a visible accepted or rejected outcome.
Why This Change Was Made
This adds two focused QA scenarios backed by real Chromium tests. Pairing uses
the existing operator-flow test; credential proof inspects token and password
selection at the browser-to-Gateway
connectboundary and asserts visiblesuccess, rejection, and recovery states.
The Gateway is mocked only to make browser credential consumption deterministic.
This PR does not claim server-side token or password validation and makes no
production changes.
The branch was merged forward to current main without rebasing after exact-head
hosted
security-fastexposed an old merge ref using vulnerablebrace-expansion5.0.8. The new head contains the canonical 5.0.9 lock state;the PR delta remains the same three QA/test files with production LOC
0.User Impact
No runtime behavior changes. Maintainers gain durable, executable primary proof
for:
control-ui.device-pairingcontrol-ui.token-password-authEvidence
qa-evidence.json: schema v2; both primary IDs pass and both refs equalbaa63bff943637607437b4c665f9a8b088c2ecb6git diff --check: passpnpm format:check: passbaa63bff943637607437b4c665f9a8b088c2ecb60Blacksmith Testbox was unavailable because the local Blacksmith CLI was not
authenticated. Per root validation policy, trusted-source proof used a clean
disposable exact-head checkout with isolated dependencies and Node 26.4.0; no
shared-worktree dependencies were reconciled.
Evidence paths:
.artifacts/qa-e2e/control-ui-credentials-suite-baa63bf/qa-evidence.json.artifacts/qa-e2e/control-ui-credentials-suite-baa63bf/qa-suite-report.md.artifacts/control-ui-e2e/mobile-pairing/.artifacts/control-ui-e2e/control-ui-credentials/ClawSweeper before-merge disposition:
claim server-side token or password validation.
@steipete. No external approval arrivedbefore landing; the campaign owner/author is the current owner and recent
author of the Control UI credential, login-gate, pairing, and E2E-helper
surfaces. ClawSweeper found no defect on the exact head, production LOC is
zero, and the external-contributor proof gate does not apply.
Observed follow-up:
AUTH_PASSWORD_MISMATCHcurrently uses the genericnetworklogin-gate recovery classification. The raw mismatch reason andrecovery steps remain visible, so rejection proof is valid; changing production
classification is intentionally outside this disjoint test-only slice.
Assistance