Skip to content

fix: keep Details View all responsive during Outputs refresh - #179729

Merged
steipete merged 7 commits into
mainfrom
solid2/w-s2-details-intent
Oct 22, 2026
Merged

steipete merged 7 commits into
mainfrom
solid2/w-s2-details-intent

Conversation

@steipete

@steipete steipete commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

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 waitForSolid helper for the final visible-pane observation. Its assertions and startup-count checks are unchanged.

Evidence

Current replacement 5b04a1a3cc51b0999470e5762cbfe2d03201b840 incorporates official main 8f290f351f2500fa84dc1829303bee6f53f96a7e. The five authored files contain 251 insertions and 12 deletions. The added diagnostic-only commit leaves all production and build inputs identical to reviewed head 24cd888583823d4fe2586d55f86b8e8029282dbb.

Proof Result
UI and E2E types / tsrs Both passed after the diagnostic update: pnpm tsgo:ui and the dedicated UI E2E TypeScript project.
Focused pinned-Bun tests, one worker Retention 2/2 and mounted navigation 5/5 passed, once each.
Independent P0–P2 review Complete three-file production candidate scoped-clean; diagnostic increment independently reviewed at P0–P2: scoped-clean, complete, and final source verification passed.
Production Knip Passed on 24cd8885; production inputs are unchanged by diagnostics. No new ignores.
Same-machine build + strict size pair Exact 8f290f35 baseline and 24cd8885 production 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.
Targeted synthetic interaction Passed: retained button opens Files and hides Details; zero page errors. Four full synthetic images inspected; idle pair byte-identical.
Broad proof Exact-head full CI 39709008636 completed: all UI unit jobs, both real-Gateway jobs, lint, and eight UI E2E shards passed. The only failed test was the sidebar reorder case below, matching scheduled main.

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.

Metric Base Head
Startup gzip / requests 325,420 B / 9 325,398 B / 9
Startup CSS / requests 40,780 B / 1 40,780 B / 1
Chat boot gzip / requests 1,442,072 B / 27 1,442,032 B / 27
New boot gzip / requests 1,020,492 B / 22 1,020,466 B / 22
Production LOC, touched owner 710 712
Focused navigation regression LOC 0 86
Existing retention test LOC 166 167
Existing real-Gateway task PR test LOC 816 910
Existing compact identity menu test LOC 135 191

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.

Wave-ten finding, touched production owner Before After
Conditional intrinsic-handler binding 0 0
Component-level onCleanup 0 0
Hand-rolled async-read status 0 0
Hand-rolled mutation status 0 0
Manual component loaders 0 0
Copied array/object signals 0 0
Handwritten createComponent calls 0 0
Context rethrow wrappers 0 0
Uncoordinated sibling loading 0 0
Foreign owner APIs 0 0

Existing onSettled sites 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:

Failed test on exact current head 5b04a1a Disposition
ui/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 reload The sole failed test in full CI 39709008636: Reorder Beta focus timeout at sidebar-plugin-order.e2e.test.ts:74:21. The exact name, action, and frame also fail in latest completed scheduled main run 39707038848 at b98018c4433de6a471c7b9376156193debd91af9. 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 main 39592b2567772ffed75e6d34d22b2236b639fbfd. 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 3ce8959 timed 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 run 39686349342 failed Delegated 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.

Before: idle Outputs

After: unchanged idle Outputs

Before: View all during refresh leaves Details open

After: View all during refresh opens Files

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 21, 2026
@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T02:05:59.101505Z 5b04a1a New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 21, 2026
@clawsweeper clawsweeper Bot removed the clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. label Oct 21, 2026
@steipete
steipete enabled auto-merge (squash) October 21, 2026 18:25
@clawsweeper clawsweeper Bot added the clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. label Oct 21, 2026
@steipete
steipete disabled auto-merge October 21, 2026 19:44
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 21, 2026
@clawsweeper

clawsweeper Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This 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.

  • Before: The visible button silently ignores the click because the Outputs object changed.
  • After: The button invokes the current navigation callback and opens Files.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, focused repair with inspected browser evidence and meaningful boundary tests; current required CI still needs qualification after conflict resolution.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected current before/after browser screenshots and the body’s recorded built-browser scenario show a retained View all button opening Files after native Outputs refresh at 1440×1000; the base retains Details, idle appearance is unchanged, and the captured production source remains unchanged on the reviewed head.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Clicking View all can silently leave Details open instead of opening Files during an Outputs refresh.
Reason: The maintainer-authored direction restores the existing navigation contract with a narrow change and preserves stale-context rejection.

Regression provenance

Possible 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
Reviewed head: 53352b4e50f2d022b98404a865c354da822e03f5

Before merge

  • Complete next step - Resolve GitHub’s reported merge conflict, then evaluate required checks on the resolved head and establish current-base attribution for the ClawHub gutter failure.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • Session identity keeps the original intent (4fddb19: The Solid migration retained session-scoped component lifetime and existing interaction contracts.)
  • Outputs navigation admission changes intended behavior with a stated reason (1894bb9: Responsive Details integration used snapshot admission while preserving retained panel navigation; this PR explains why general Files navigation needs semantic identity instead.)
  • Pending-chat retention assertions keeps the original intent (413d2fc: The existing tests protect retained transcripts and avoid redundant startup during agent creation; the settlement repair preserves their assertions.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +2, Tests +87. Total +89 across 3 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 1 7 5 +2
Tests 2 89 2 +87
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 96 7 +89

Review metrics

Metric Value Why it matters
Production versus test growth Production +2 net lines; tests +87 net lines The small production change reuses existing identity machinery; test growth covers refreshed navigation and four distinct retirement boundaries.

Labels

Label changes:

  • add P2: A visible Details navigation action can silently fail during refresh, with limited impact on the wider application.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: A visible Details navigation action can silently fail during refresh, with limited impact on the wider application.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 21, 2026, 5:19 PM ET / 21:19 UTC.

@steipete
steipete merged commit a8ead19 into main Oct 22, 2026
100 of 105 checks passed
@steipete
steipete deleted the solid2/w-s2-details-intent branch October 22, 2026 02:40
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 22, 2026
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant