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: needs maintainer review before merge. What this changesThis PR keeps desktop sidebar actions outside the child-disclosure position after the last child disappears. Example: The last child of “Pointer parent” disappears while the pointer remains at disclosure coordinate (279, 75).
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open for landing: it fixes a current sidebar hit-target bug without changing Archive semantics, and no actionable findings remain; exact-head CI is still pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherGateway roster updates determine child membership; the sidebar renderer mounts the disclosure, and shared CSS positions controls whose clicks invoke session operations. flowchart LR
A[Gateway roster update] --> B[Sidebar session projection]
B --> C[Row and disclosure DOM]
C --> D[Shared layout CSS]
D --> E[Pointer click target]
E --> F[Session action RPC]
Technical reviewBest possible solution: Land the focused CSS repair and saved-coordinate regression while retaining direct Archive, Undo, and full resting title width. Do we have a high-confidence way to reproduce the issue? Current-main CSS and conditional disclosure rendering establish the target movement, supported by the supplied same-coordinate browser negative control; no reviewer-run execution was performed. Is this the best way to solve the issue? The existing CSS owner can stabilize the target directly, and the patch preserves mobile and team layout ownership without adding runtime state or changing archive policy. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fab581e93950. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +15, Tests +148. Total +163 across 3 files. Added test files: 1. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label 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 HistoryReview history (3 earlier review cycles)Reviewed October 18, 2026, 12:53 PM ET / 16:53 UTC (Revision 4). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Thanks @alkor2000 for finding and proving this! The bug still reproduced on current main, and the credited replacement #189906 is now merged as 04d6904, with a red-before/green-after browser regression and green CI. Closing this in favor of that merged replacement. |
Closes #167415.
What Problem This Solves
Fixes accidental session archives when the last child disappears and a user clicks again at the sidebar disclosure's previous position.
User Impact
In hover/fine-pointer layouts, Archive keeps its position as child membership changes. Childless rows reserve the missing disclosure space only while actions are surfaced, preserving full resting title width. Touch/mobile and team layouts retain their existing placement and always-visible action clearance.
Why This Change Was Made
The existing CSS owner keeps Archive outside the disclosure slot. The parent row supplies the missing inline space on hover/focus when there is no disclosure; no runtime state or new CSS variable is introduced. The rule applies only to rows with Archive, leaving pure catalog-menu rows to their owner.
This revision integrates official main
51420782b3810b4aa1230aa9621aec78f7dbbd3c. Main deliberately moved status indicators back to the leading side inf28de2e8e690e73a9be4c270c338a35d3a9d13bf; that cutover remains intact. Retired trailing-status rules and the removed unread-hover test block are not restored. The presentation test matches main exactly. This follow-through applies the contributor-approved +243 test-line allocation after an actual merge-ref CI budget failure. No further main integration or runtime change is included.Evidence
Head
c0969c6c3583904688101ec534e441392cd817b9; tree1c97867c5a215e9431ea338c9a1be053612dac80. Node 24.22.1 / pnpm 12.15.0 match the branch, with the qualified dependency definitions and lock unchanged. Proof uses the production UI bundle, native Chromium and an owned synthetic Gateway, not an operator Gateway or physical touch device. The behavior runs and screenshots below belong toa07b994f/tree45ef6729; the latest synchronization retains the Archive CSS block, regression and named owning renderers/fixtures. Compared with the previous qualified synchronization, only the package metadata changed among 20 named inputs; the Archive block, renderers, stylesheet and regression remain unchanged. The prior upstream People-list change remains outside this fix. These are qualified reused results, not a new browser execution.(277, 99), hit-testing finds Archive, a trusted repeated click targets Archive, and the parent receives 1 archive RPC. The same scenario first exercises ordinary Archive as a positive control. The wrapper took 121.87 s; the test reaches the intended hit-target assertion.sessions.listrequest, without a page error. An exact-main-CSS control in the same ChildToggle→Presentation file order passes that sibling and fails the expected original Archive-point case (125.96 s wrapper). The readiness cause remains unclassified; a passing replay is not a repair. Earlier readiness failures retain their own scope. No wait limit, assertion or readiness guard was weakened.Before repeated click: main places Archive at the old disclosure coordinate. The screenshot precedes that repeated click; its archive toast belongs to the ordinary-Archive positive control.
After: Archive stays left of the empty disclosure slot, while main's leading-status design remains intact. The a07 behavior capture is byte-identical to the inspected uploaded frame; its execution provenance is retained through this qualified synchronization.
Remaining Validation
The contributor approved at most 243 net-added test lines relative to official main, including future synchronizations. The previous revision used main's 6,302,000 ceiling because its fixed-main local total 6,301,879 fit by 121. Its real merge-ref CI 40684162642 subsequently failed only the test-lines ratchet: 6,302,034 / 6,302,000, over 34, with measured PR net +243. Native classification remains new / matching main job passed, selected scope not compared. No Vitest failure was selected for rerun.
This revision applies exactly the approved +243, giving ceiling 6,302,243. The local fixed-main check passes at 6,301,879, leaving 364; applied to the observed failed CI count, the same ceiling would leave 209, equal to that CI base's derived headroom. The latter is arithmetic on the failed CI snapshot, not a new-head CI pass. All 20 qualified UI/fixture/runtime inputs match the previous revision. Only the budget scalar and its attribution comment change; main's existing explanatory comments remain intact, and the prior scoped-clean +243 allocation review retains its same-bound mechanical scope. No assertions, counting rules or other gates are waived.
New-head CI and current full UI/WebKit evidence are pending. Previous
51f65fa3CI 40662304013 failed the budget ratchet andchecks-ui (2/3)atchat-session-sharing-mobile.test.tsx/ "keeps sharing busy through refresh and retires it for a same-key successor (event)". The native report labels the UI job pre-existing by job name only; failure signatures and selected scope were not compared, so that is not claimed as proven inherited. Its evidence remains separate from this revision. Prior a07 CI 40653062017 completed with failure only in the baseline-ratchet job; its UI performance gate passed. Native classification labels that budget job new because the matching main job passed without comparing selected scope; this is not claimed as a CI-approved inherited-failure exception. Earlier successful CI 40218695458 and the older native asset-budget comparison belong to68776494, not this revision. Current readiness failure, performance scope and required maintainer/codeowner review remain visible; this is an author repair, not upstream merge approval.