Repository navigation
Conversation
Use lazy, Loading, and Errored for System busyness imports and independent section presentation while retaining request authority, cancellation, replay, and polling history. Cover both initial and settled polling independence, including deferred status samples while active-run data stays pending.
|
🦞👀 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 replaces manual System busyness loading and error presentation with Solid native async boundaries. Example: An active-run request remains pending while CPU samples update from 0.20 to 0.40 cores.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-directed refactor contains useful section-level async presentation work absent from current main, with no definite introduced correctness bug found. Priority: P3 Before merge
FindingsNone. Agent review detailsHow this fits togetherThe Control UI overlay loads diagnostics through existing Gateway request owners and renders expanded sections or compact vitals; connection lifetime, permissions, cancellation, and polling remain synchronous. flowchart TD
A[System busyness controls] --> B[Overlay and lazy boundary]
B --> C[Diagnostics polling owner]
C --> D[Gateway request owners]
D --> E[Section promises]
E --> F[Independent async boundaries]
F --> G[Sections and compact vitals]
Technical reviewBest possible solution: Integrate the section boundaries and retry presentation with main’s existing lazy loader while preserving independent polling, connection retirement, and dismissal checks. Do we have a high-confidence way to reproduce the issue? This PR claims a refactor rather than a broken user contract; source inspection confirms the manual presentation it replaces. Is this the best way to solve the issue? Native boundaries fit the repository’s Solid contract, and the synchronous diagnostics owner remains responsible for permissions, cancellation, polling, and history. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3333c586e0ff. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +39, Tests +28. Total +67 across 3 files. Added test files: 0. 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, 4:25 PM ET / 20:25 UTC. |
|
Superseded by #180409, which preserves the reviewed Debug contribution at |
What Problem This Solves
System busyness still maintains separate manual loading/error presentation for its lazy overlay and each diagnostics section.
User Impact
The overlay keeps its expanded and compact loading states, independent live diagnostics, and stale-chunk recovery behavior while moving async presentation to Solid's native boundaries. No configuration or migration is required.
Why This Change Was Made
The lazy module now owns import presentation through
lazy,Loading, andErrored; the existing request owner retains replay and dismissal authority. Each diagnostics descriptor exposes its actual request to an independent async boundary, while the synchronous polling owner still handles permissions, cancellation, connection replacement, visibility, and sample history. A shared status memo preserves samples when switching between compact and expanded views.Settled sections continue refreshing independently: a delayed active-run request does not hold CPU updates or history. A connection epoch clears prior-connection samples immediately. Retry retains its loading presentation while checking reachability, and closing the overlay prevents that pending check from reloading it.
Evidence
Validated signed head
d37a184b4bf3594df727b07e3f433aaf66e7201eagainst official-main baselinec5471a5ffd8df3c4a3766886ff3cfd91c936ad68:Production builds and strict budget checks passed for both baseline and candidate, including the paired comparison. Startup/Chat/New gzip changed by +23/+42/+44 bytes; raw JS, request counts (8/25/21), and CSS metrics were unchanged. No budget changed.
The two production files change from 473 to 512 lines (+39). Static sites: signals 4→3,
createComponent1→0,onSettled5→4, andShow10→9; native lazy 1, Loading/Errored 3 each, memo 2, and optimistic/action 1 each. The increase retains independent pending/error frames and explicit retry ownership.The screenshots below are inspected synthetic fixtures from production builds, paired before/after for expanded loading, compact loading, and expanded ready. The full-frame settled-target helper could not capture the baseline reliably; the supported viewport helper produced all six images, with matching measured bounds and no page errors. No live Gateway/provider run is claimed by these fixture-based browser checks.
Solid 2 checklist
Debug #179755, exact c547 base → d37 head, two touched production modules. Source-inspected normalized checklist; retained native-AST census supports primitive counts. No new tests or source edits.
CI qualification
Exact-head CI 39645079134, attempt 1, completed with 30 successful jobs, 26 skipped, seven failed UI shards, and the failed aggregate gate. All 11 failed cases match scheduled main 39644558400 by exact test name and primary error, locator, and first stack frame after timestamp removal. That scheduled main run completed at 18:29:18 UTC; its fresh 18:32 observation qualifies it as the latest completed main run. The previously completed main run passed the outbox case and is not used as matching evidence.
The matching cases cover sidebar download recovery at two widths, compact-menu clipping, an unconfirmed outbox submission, offline initial-roster readiness, native titlebar focus, account-footer retries, embedded offline navigation, sidebar transport/client replacement, offline rename, and retained My sessions. The current native-titlebar failure is line 465; the old line 351 failure belongs to earlier code. Fourteen relevant test, support, status, menu, and CSS blobs are identical across scheduled main
d5621d908488, the actual CI parentd0a12b23c08a, and tested merge23eb089a55ce. Failed CI is retained as failed; these comparisons do not claim a fix for the baseline failures.