Repository navigation
fix(ui): restore Settings navigation browser checks - #197156
Conversation
Settings keeps the desktop navigation rail and Inbox while replacing the session panel. Update the missed browser assertions and preserve pending admin-request, recurrence, approval and Escape navigation checks. Reproduced six failures on main 8830ff6. All 29 cases across the three affected files pass after the fixture migration (45.92s). Scoped lint, UI and UI E2E types, formatting and ratchets pass; net test-line growth is zero. Independent review found no actionable issues.
|
🦞👀 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. |
|
@clawsweeper autofix |
|
|
|
Codex review: needs maintainer review before merge. What this changesThis PR updates Settings browser tests for the retained desktop navigation rail and corrects an outdated Inbox-lifetime comment. Example: Open Settings while admin request upgrade-1 is pending.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR narrowly repairs obsolete browser assertions while preserving the intended Settings layout and admin-request coverage; no actionable defect was found, and the reviewed head's CI gate passes. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI shell presents Settings beside the desktop navigation rail; browser tests drive navigation and inspect Inbox state using a mocked Gateway. flowchart LR
A[Browser test] --> B[Control UI shell]
B --> C[Desktop navigation rail]
B --> D[Settings sidebar]
C --> E[Shared Inbox store]
E --> F[Mock Gateway]
Technical reviewBest possible solution: Merge the focused assertion migration while retaining the existing shell and Inbox owners. Do we have a high-confidence way to reproduce the issue? Current main retains the desktop rail but the affected tests still require its Inbox or entire sidebar to disappear; the author reports six baseline failures, and no tests were run during this read-only review. Is this the best way to solve the issue? Updating the existing assertions is the smallest complete fix because the retained rail is intentional and the surrounding lifecycle checks remain intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9b0588ab72cc. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource 0, Tests 0. Total 0 across 4 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 11, 2026, 4:30 AM ET / 09:30 UTC. |
|
Merged via squash.
|
…claw#197156) Settings keeps the desktop navigation rail and Inbox while replacing the session panel. Update the missed browser assertions and preserve pending admin-request, recurrence, approval and Escape navigation checks. Reproduced six failures on main 53dfe7c. All 29 cases across the three affected files pass after the fixture migration (45.92s). Scoped lint, UI and UI E2E types, formatting and ratchets pass; net test-line growth is zero. Independent review found no actionable issues.
What Problem This Solves
Settings browser checks fail after the intentional desktop navigation-rail retention in #196919 because six cases still expect the entire sidebar or Inbox to disappear.
User Impact
No user-visible behavior changes. The checks now protect the retained rail, hidden session panel, and uninterrupted admin access requests across Settings navigation.
Why This Change Was Made
Migrate the three missed browser-test consumers together and correct the stale Inbox-lifetime comment. Pending request identity, one request/wait, dismissal recurrence, approval, rotated token/scopes and Escape navigation assertions remain. The direct red-main repair push was rejected by the required-PR rule, so this submits the same tested patch through the protected workflow.
Evidence
8830ff6d8ed6: six affected cases fail at the obsolete visibility/count assertions (6 failed, 23 skipped; 39.40s).