Repository navigation
fix: keep Details View all responsive during Outputs refresh - #179729
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. |
|
Codex review: needs changes before merge. What this changesThis PR lets Details View all open Files during a same-session Outputs refresh while rejecting clicks from retired session contexts. Example: Session agent:main:details displays five files when Outputs refreshes immediately before clicking View all.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: it fixes a concrete navigation failure still present on main, with no actionable patch findings; GitHub reports a merge conflict. Priority: P2 Before merge
FindingsNone. Agent review detailsHow this fits togetherThe Control UI Details component receives session and Outputs properties from the native host, admits visible-button intent, and delegates Files navigation to the existing workspace owner. flowchart LR
A[Native session host] --> B[Details properties]
B --> C[Visible Outputs button]
C --> D[Session identity check]
D --> E[Current navigation callback]
E --> F[Workspace navigation owner]
F --> G[Files panel]
Technical reviewBest possible solution: Keep the existing navigation owner and admit View all using current session identity while preserving snapshot admission for artifact-specific actions. Do we have a high-confidence way to reproduce the issue? The native bridge exposes current properties before DOM settlement, and main’s Outputs-object equality rejects the retained button after refresh; the supplied primary regression and browser comparison exercise that path. Is this the best way to solve the issue? This is the smallest complete repair: reuse the existing semantic identity, dispatch through the current callback, and leave resource authority and artifact snapshot checks with their existing owners. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f365d7852ae1. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +2, Tests +87. Total +89 across 3 files. Added test files: 1. View PR surface stats
Review metrics
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 October 21, 2026, 5:19 PM ET / 21:19 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…w#179729) * fix: keep Details View all responsive during Outputs refresh * test(ui): settle retained chat assertions through Solid * test(ui): capture task PR hydration failure facts * test(ui): avoid shadowing task PR diagnostic bindings * test(ui): capture compact identity menu timeout facts
What Problem This Solves
Fixes: View all in Chat and Dashboard Details can silently ignore a click when Outputs refreshes before the visible button settles.
User Impact
View all opens Files through a same-session refresh. Changing the session, agent, session incarnation, or hiding Details still retires the previous button’s intent.
Why This Change Was Made
Native host properties can advance before Solid updates the visible button. The handler now checks the existing semantic session identity at click time and uses the current callback. Artifact-specific actions retain their snapshot checks, and the navigation owner retains Gateway/resource authority.
The retention test preserves main’s initial transcript-readiness wait and uses the existing
waitForSolidhelper for the final visible-pane observation. Its assertions and startup-count checks are unchanged.Evidence
Current replacement
5b04a1a3cc51b0999470e5762cbfe2d03201b840incorporates official main8f290f351f2500fa84dc1829303bee6f53f96a7e. The five authored files contain 251 insertions and 12 deletions. The added diagnostic-only commit leaves all production and build inputs identical to reviewed head24cd888583823d4fe2586d55f86b8e8029282dbb.pnpm tsgo:uiand the dedicated UI E2E TypeScript project.24cd8885; production inputs are unchanged by diagnostics. No new ignores.8f290f35baseline and24cd8885production head passed; both strict scans report zero violations. Fixed build metadata, one build per side. Reused unchanged production/build inputs after the diagnostic-only commit.The original primary mounted-button regression failed on its unmodified base and passed after the fix. Negative fixtures publish replacement Outputs with the scope change; the final entire file is not claimed unchanged-red.
The two added production lines reuse existing identity state. No new owner, dependency, synchronized state, or eager loading boundary. Authored scope is five files, 251 insertions and 12 deletions against this base. The two diagnostic increments add 156 lines and remove 6: per-socket subscription acknowledgement matching, scalar snapshot/subscription counts, and one bounded failure-only DOM sample. It preserves the original error, assertions, poll deadlines, focus behavior, and cleanup. The extra lines distinguish missing hydration from a later receipt-only event without changing either the owner or its test contract.
onCleanupcreateComponentcallsExisting
onSettledsites remain 2 → 2. The refactor-checklist census is also 0 → 0 for rendering controllers, effects, render effects,untrack, direct listeners, DOM queries, class-string assembly,flush, and foreign owner APIs. The broad join-pattern match assembles description text, not a CSS class.Both sides pass the current startup, route, and locale caps. Startup CSS stays at one request and every measured request count is unchanged. Earlier CI is historical only; the replacement receives fresh full CI and exact failing-name accounting.
Synthetic captures use a fixed clock, light theme, and 1440×1000 viewport. The baseline retains the visible button but drops navigation after Outputs changes; the head opens Files. All four images were inspected as synthetic-only. The primary before/after pair was also delivered in the originating chat.
Current CI and failure disposition:
5b04a1aui/src/e2e/sidebar-plugin-order.e2e.test.ts > Control UI plugin sidebar order mocked Gateway E2E > reorders plugin sidebar tabs and keeps the order after reload39709008636:Reorder Betafocus timeout atsidebar-plugin-order.e2e.test.ts:74:21. The exact name, action, and frame also fail in latest completed scheduled main run 39707038848 atb98018c4433de6a471c7b9376156193debd91af9. Landing uses the documented inherited-failure route and retains failed CI; security and required reviews remain enforced.The current CI checkout was merge
931ba6b8bb549f5f227e7ab00dbec1f416489bd4, integrating this head into main39592b2567772ffed75e6d34d22b2236b639fbfd. The compact identity menu case is absent from the complete failed-name inventory; all other UI E2E shards and both real-Gateway jobs succeeded. No separate successful compact-case log is claimed.Previous head
3ce8959timed out at the compact menu's final Gateway settings click (compact-identity-menu.e2e.test.ts:115:74). One exact-base prebuilt case and one source-backed traced case each passed, but neither those probes nor the current full CI establishes the transient's cause or a product fix. The added diagnostics preserve that uncertainty.The new compact-menu diagnostics preserve all clicks, actionability, assertions, and poll/click timeouts. On a final-opening failure they record only fixed scalar phase, visibility, animation, pointer, and focus facts via the existing diagnostic artifact owner. The failure-only browser sample has a 1,000 ms bound and rethrows the original error even if sampling fails. Numeric operation phases are 1 = opening Identity, 2 = opening Gateways, 3 = clicking Gateway settings; overlay phases are -1 = absent/unknown, 0 = hidden, 1 = opening, 2 = open, 3 = closing. This is evidence collection for an unresolved transient, not a claimed product fix. Production and build inputs remain unchanged.
The compact probe reused the canonical prebuilt validation at the actual merge base. The current-head retained-dist setup refused
missing_private_qa_dist, so no result is claimed from that setup; the separately authorized current-head diagnostic used the canonical source server, not a production rebuild. Each case ran once with one worker. No local repeat loop or full E2E suite ran.Both real-Gateway shards passed on
60d25d7. The earlier run39686349342failedDelegated task PRs through a real Gateway > shows three persisted descendant PRs while keeping the parent branch unpublished; the diagnostic-only change does not establish that earlier failure's cause or fix it. Its raw event observer can differ from the UI owner, which intentionally retains rich metadata across a later receipt-only update. The failure-only scalar facts now distinguish those states if it recurs. Assertions and polling timeouts remain unchanged.The supported exact-base Linux source-capsule attempt reached a queued allocation, was cancelled immediately under the proof budget, and ran no assertion. The provider is completed and exact-ID cleanup reconciliation succeeded (run 39703451069); the local wrapper joined with the expected interrupted exit 130. Preserved SSD artifacts await coordinator cleanup. This is not inherited qualification.
The original three-file production candidate and the diagnostic increment each have complete scoped-clean P0–P2 independent reviews with source verification. The earlier rename increment also has a complete scoped-clean P0–P2 review with final source verification. The compact diagnostic increment passed its dedicated E2E tsrs typecheck, scoped lint, and complete scoped-clean P0–P2 independent review with final source verification. No further local browser run was made for this diagnostic-only increment. Production/build inputs remain identical to
24cd8885, so the paired build, Knip, focused behavior tests, and inspected screenshots are reused with that input qualification.