Repository navigation
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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78a3a50f5b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| railGap: Math.round(menu.x - (rail.x + rail.width)), | ||
| alignedWithCard: Math.abs(menu.y - card.y) <= 1, | ||
| inViewport: menu.x >= 0 && menu.x + menu.width <= page.viewportSize()!.width, | ||
| }; | ||
| }) |
There was a problem hiding this comment.
Remove the duplicate desktop menu-placement check
This adds an expensive full-Control-UI E2E assertion for the same desktop rail contract already covered by ui/src/components/app-sidebar-rail-menus.browser.test.ts:61-69, including the 8px rail gap and top alignment. Since this case immediately switches to mobile to exercise the distinct responsive behavior, repeating the desktop check adds no transport or lifecycle coverage and needlessly increases the runtime and failure surface of an already slow E2E suite; leave the desktop contract at its focused browser-owner test and retain only the mobile assertion here.
AGENTS.md reference: AGENTS.md:L78-L80
Useful? React with 👍 / 👎.
|
Codex review: needs maintainer review before merge. What this changesThis PR updates Control UI navigation tests for desktop rail menus, mobile drawer placement, and Inbox keyboard focus. Example: Keyboard focus reaches Inbox in the native web titlebar layout.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it repairs stale navigation expectations without changing production behavior, and no correctness defect was found; the remaining CI failure also occurs on main. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe browser E2E suites load the Control UI with a mocked Gateway, perform navigation and keyboard actions, and check layout, focus, and agent-scoped requests. flowchart LR
A[Browser E2E suite] --> B[Control UI shell]
B --> C[Navigation rail]
B --> D[Mobile drawer]
C --> E[Menus and Inbox]
D --> E
E --> F[Mock Gateway requests]
Technical reviewBest possible solution: Retain the mobile scope and Inbox focus repairs while leaving desktop placement coverage in its existing browser-owner test. Do we have a high-confidence way to reproduce the issue? The original assertions contradict current rail CSS and placement contracts, and scheduled-main annotations show both stale expectations failing; no target code was executed during this review. Is this the best way to solve the issue? Updating the tests is appropriate because the production changes were intentional; the added desktop geometry block duplicates focused browser coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f2c7e8dd3370. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +36. Total +36 across 2 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 October 21, 2026, 11:49 AM ET / 15:49 UTC. |
|
Superseded by #179711, merged as I verified the current source includes both repairs proposed here: the agent menu is measured against the rail with an 8px gap and zero top offset, and native navigation checks the visible 2px solid focus outline instead of the removed shadow. It also preserves the newer nested Writer settings selector. Replaying this older patch would conflict with those changes. Both targeted cases passed this PR's local proof and full CI run |
Whole-scope Wave Ten census: unchanged by this test-only repair. Production source was verified unchanged from the census checkpoint
d9387f6athrough this branch's baseecb53855. C/E/U/N = candidate / allowed exception / unknown / native. The migration remains incomplete.What Problem This Solves
Two Control UI E2E assertions still require the navigation design that main replaced in #179214 and #179218, making current navigation controls fail CI.
User Impact
No product behavior changes. The tests continue to protect visible keyboard focus, menu placement, and agent scope/navigation using the current rail design.
Why This Change Was Made
Desktop agent menus now open beside the rail, aligned with the card's top. The scope case checks that placement and retains the original below-card/overlap bounds for the mobile drawer before selecting Writer and continuing the existing scope/settings flow.
The rail's Inbox now uses a visible 2px outline instead of a box shadow. The native titlebar case checks outline width, style, and visible color, then opens Inbox with Enter as before. Its existing nontransparent hover check waits for the background transition introduced by #179214. Compact identity clipping bounds are unchanged.
Evidence
ecb53855Only the two named cases run locally with one worker through the standard UI E2E config. A head attempt reached no tests: the wrapper timed out while waiting behind plugin SDK declaration preparation. The same frozen head was restarted serially after core lint completed. Node is selected for these Playwright E2E fixtures. The E2E test leaf passed tsrs. Scoped lint uses
config/tsconfig/oxlint.core.json, which includes UI source and avoids unrelated plugin-boundary declaration preparation (that preparation timed out in the initial lint attempt). The harness owns its production fixture build; no independent full build, broad E2E suite, parity run, or performance rerun is added.Touched test LOC: 1,084 → 1,120 (+36). No dependencies, generated outputs, translations, or production files change. No screenshots are required for this test-only correction.
The only full-CI failure is
compact identity menu > keeps common actions visible with nine native gateways and opens an unclipped keyboard switcher. The latest completed scheduled main run 39635924183 atac842435fails the identical test name and identicalexpectUnclippedassertion (expected false to be true, line 45 / call 94). The annotation messages match byte for byte. This meets the matching-names requirement for the native inherited-failure route; the compact-menu test and production code are untouched by this PR. The separate Menu repair remains responsible for fixing that product failure.