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: 806f8f6bf3
ℹ️ 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".
| <Show | ||
| when={conversationError()} | ||
| fallback={ | ||
| <Errored |
There was a problem hiding this comment.
Reset the error boundary when the app route changes
If the conversation import rejects and the URL then changes directly to another truthy app route (for example through browser navigation or another MCP app deep link), this Errored instance remains mounted and continues showing the previous route's error until the user clicks Try again. The inner Loading on={appRoute()} is not mounted while the fallback is active, so it cannot trigger the new conversationReady read; unlike the removed effect, nothing clears the failure on route replacement. Key or otherwise reset the boundary by the app-route identity so the new route retries automatically.
AGENTS.md reference: ui/AGENTS.md:L9-L12
Useful? React with 👍 / 👎.
|
Codex review: needs changes before merge. What this changesThis PR replaces manual Apps conversation-loading state with Solid async readiness and error boundaries. Example: Open /apps?server=parts&tool=library while the conversation chunk is delayed.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains This maintainer-authored PR makes a useful, focused simplification; no introduced correctness or security defect was established, but GitHub reports a merge conflict. Priority: P3 Before merge
FindingsNone. Agent review detailsHow this fits togetherThe Apps route combines URL selection, Gateway discovery, and lazy chat-element registration to render a selected plugin app conversation. flowchart TD
A[Apps URL] --> B[Apps page]
C[Gateway discovery] --> B
B --> D[Solid readiness boundary]
D --> E[Custom element registration]
E --> F[Chat pane]
Technical reviewBest possible solution: Keep the existing registration owner and native Solid readiness boundaries, then resolve the reported merge conflict. Do we have a high-confidence way to reproduce the issue? Current main mounts the conversation slot without awaiting custom-element registration; supplied before/after browser captures demonstrate the changed pending-state feedback. Is this the best way to solve the issue? The change uses the existing registration owner and Solid's native async contract without adding a parallel owner or abstraction. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ae57036eea50. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -17, Tests +112, Other -1. Total +94 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, 6:53 PM ET / 22:53 UTC. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 58616ffb76
ℹ️ 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".
| return { ...mounted, setSearch }; | ||
| } | ||
|
|
||
| it("waits for the conversation registration and retries a failed import", async () => { |
There was a problem hiding this comment.
Clean up the newly mounted Solid roots
Both added tests are top-level, but the only cleanupSolid() hook is scoped inside the later describe, so it never runs for these mounts. In filtered or watch-mode runs, the roots and body containers remain in the global registry through worker/module resets, allowing stale subscriptions and DOM to contaminate later tests; move the cleanup hook to file scope or explicitly unmount each fixture.
AGENTS.md reference: ui/AGENTS.md:L3-L5
Useful? React with 👍 / 👎.
Whole-scope imported-symbol census on exact integrated main base
4d55380944261e25a1f849328b8304ad397c4b6d. Counts are syntax hits, not outstanding defects. The touched Apps read adds one async memo and removes 17 production lines.What Problem This Solves
The Apps route duplicates its conversation-registration promise with an error signal, retry counter, effect and stale-callback guard. It now observes the same registration owner through an async memo under
LoadingandErrored, retaining the existing alert and Try again control. While the conversation chunk downloads, the existing loading copy is visible and an unregistered chat host is not mounted.ensureCustomElementDefinedstill deduplicates imports, validates registration and retires failed attempts. The chat import stays inside that owner call and only starts for a selected app route. The lazy discovery component, app launch identity, selectors and session authority are unchanged. The custom-element registration import intentionally remains owner-based rather than alazycomponent: registration serves native callers as well as this Solid renderer.The simplify pass removes the redundant presentation machinery without adding an abstraction. The new tests cover two distinct observable failures: pending/rejected registration with successful retry, and retirement of a late failure after the app route closes.
Evidence
Startup is below the 325,000 B cap; its +1 B gzip variation and every displayed raw-byte total are within the 64 B allowance. No startup, route or locale cap has new growth beyond that allowance.
Production LOC: 197 → 180 (−17). New tests add 112 lines. No dependency, startup import, route, CSS or English-copy change. Existing loading text is reused. No external test lease or live data was used. Release-note context: Apps registration now presents explicit readiness and retry feedback through Solid's native boundaries.
Synthetic waiting-state proof
Both captures hold the conversation registration chunk for the same synthetic Parts library route. The old route reaches its unavailable message while registration is pending; the new route keeps the loading status until readiness settles. The fixture's identical server-update notice is outside the changed Apps slot. Capture setup uses the normal UI E2E 15-second readiness polling; early attempts with a malformed URL and an incomplete standalone screenshot configuration are retained as setup failures, not passing product proof.
Integration proof: merged main through
4d5538094426, retaining both the existing heading regression and this PR’s registration/retry/retired-route cases. All three Apps cases, UI tsrs and the independent P0–P2 review passed. Exact-main paired builds passed with zero performance violations/warnings; candidate source restoration was byte-verified. No main commits were replayed.Current-head CI attribution
Full CI 39698058040 completed for
58616ffb768e3c9944e96451e96b6e40d25ac1c0. Its only failing tests are:Chat header and delegated work > keeps new batches collapsed until Subagents is opened manually without duplicate wait statusControl UI plugin sidebar order mocked Gateway E2E > reorders plugin sidebar tabs and keeps the order after reloadEvery name also fails in the latest completed scheduled main 39703131373, UI4 job119577131374, at
c538e280e80842e5bac887e2178b9df0c6ba1c2a. All other jobs passed or were skipped. The actual CI checkout, its ordered parents, reconstructed merge tree, and unchanged failing-test blobs were verified. Native inherited-failure admission retains the failed result; it does not report CI as green.