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: 31aaa61ce8
ℹ️ 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".
| <div class="plugin-catalog-detail__main" aria-hidden="true"> | ||
| <div class="plugin-catalog-detail__loading-card skeleton" /> | ||
| <div class="plugin-catalog-detail__loading-card skeleton" /> | ||
| <Loading on={receipt()} fallback={<CatalogDetailLoading />}> |
There was a problem hiding this comment.
Preserve catalog content during same-plugin refreshes
When plugins.list refreshes while a catalog detail remains selected, replaceResult() calls refreshDiscovery(), and showCatalogDetail() creates a new receipt even though it retains the existing result. Using that receipt object as the Loading reset identity re-arms the full-page fallback on every such background refresh, replacing the accepted detail with a skeleton until the catalog request settles; on a slow or unavailable catalog service this causes prolonged flicker despite usable cached content. Key on to the stable catalog identity, or omit it for same-plugin revalidation so only initial loads show this fallback.
Useful? React with 👍 / 👎.
|
Codex review: needs changes before merge. What this changesThis PR presents installed-plugin inspection and catalog-detail request readiness through Solid loading and error boundaries. Example: The initial catalog request for /plugins/catalog-workboard fails.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 3 items remain Keep open: this maintainer-authored refactor has a clear ownership goal, but its catalog loading boundary hides accepted details during background refreshes. Priority: P2 Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherThe Plugins page admits Gateway inspection and catalog requests, retains accepted snapshots, and supplies their completion receipts to Solid views that display loading, errors, and plugin controls. flowchart TD
A[Plugin route and inventory events] --> B[Plugins page owner]
B --> C[Detail loaders]
C --> D[Gateway client]
C --> E[Accepted detail snapshots]
C --> F[Read receipt adapter]
E --> G[Solid detail views]
F --> G
Technical reviewBest possible solution: Keep the existing loaders and native readiness adapter, but reset catalog loading only when selection or connection identity changes. Do we have a high-confidence way to reproduce the issue? Source shows a reproducible path: keep /plugins/catalog-workboard selected, publish updated inventory, and hold the resulting plugins.catalog.get request; the new receipt re-arms the full detail skeleton despite an accepted result. Is this the best way to solve the issue? Observing admitted requests is consistent with the existing ownership model, but request completion identity must remain separate from the selection identity that resets presentation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 317f9399d9b0. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +135, Tests +74. Total +209 across 10 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, 11:31 PM ET / October 22, 2026, 03:31 UTC. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c48896a734
ℹ️ 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".
| const detailRead = surface === "discovery" && details.catalog.receipt(); | ||
| if (detailRead) { | ||
| // The inventory refresh starts a separate catalog read. Its heading must exist first. | ||
| await detailRead.result.catch(() => {}); |
There was a problem hiding this comment.
Do not block uninstall completion on catalog detail
When uninstalling an installed plugin from its discovery detail, refreshCatalog() starts a new optional plugins.catalog.get read and this await keeps runMutation() from reaching its finally block. If ClawHub is slow or unavailable, the already-successful uninstall remains marked busy for up to the Gateway request timeout (30 seconds), delaying completion solely to restore focus; focus restoration should follow the receipt asynchronously rather than hold mutation settlement.
AGENTS.md reference: AGENTS.md:L74-L77
Useful? React with 👍 / 👎.
|
Superseded by #180389, which carries the reviewed native detail-read implementation and same-plugin progress fix on current main. Its native workflow reads the current landing-state schema; no retained workflow binding was changed. |
Whole-scope production census at integrated base
f25a10e929c2c0875b6d3a6f6e6a2936726af520→ current focus- and refresh-repaired production candidate. Counts are AST syntax, not defect counts; each cell is before → after. Semantic candidates and exceptions are named below.What Problem This Solves
Installed-plugin inspection and selected catalog details now consume the completion of their existing admitted requests through Solid async reads under
LoadingandErrored. Loaders remain the sole owners of current selection, Gateway authority, and accepted snapshots. Optional tools/catalog enrichment still cannot block installed controls.The completion slot is separate from accepted editable content. Closing a detail, switching identity, or losing the connection retires its presentation immediately without waiting for transport. The two loader-owned error copies are removed; visible retry actions retry the request and reset the native error boundary. No new RPC, dependency, host, route, or eager import is introduced.
The selected full CI exposed a removal-focus ordering regression: the inventory refresh starts a separate catalog read, so its heading may not exist at the first settled callback. Removal now awaits the current admitted detail receipt before restoring focus; navigating away retires that wait and preserves the new selection. The regression failed on the real focus assertion before the repair and now passes for both completion and navigation. The final review also caught a same-plugin refresh replacing accepted controls with a loading skeleton: the loading key now follows accepted plugin identity, retaining the same live controls during revalidation. The new control-identity regression passes and fails with the original receipt-only key.
Two silent-sample exceptions remain: optional installed tools metadata and remote catalog enrichment. Consent inspection and config/schema are separate assigned PRs. No
isPendingorlatestprobe is needed for a slot whose resolved value is onlynull; accepted content already lives outside it.Evidence
[]ci:fullrequested for all UI, Control UI E2E, browser-extension, and real-Gateway shardsProduction touched-file LOC: 2,238 → 2,376 (+138). The extra production code expresses two native boundaries and one shared presentation adapter while deleting both copied loader errors; request admission and accepted snapshots stay in the existing plain owner.
Synthetic before / after
Installed loading
Installed error
Catalog loading
Catalog error
Same-plugin refresh regression repair
Full CI exposed
plugin install button progress > keeps truthful progress through the final finalization-failure response: replacing the result object re-armedLoadingeven though its returned plugin ID stayed the same, which unmounted the progress view. The boundary now reads a memo of that ID. The existing regression fixture replaces the result object during the pending receipt.The strengthened unit test failed against the previous head and all nine catalog-detail tests pass with the fix. The exact failed E2E case also passes (one selected case; four unrelated cases filtered), and UI tsrs, typed lint, formatting, and independent P0–P2 review pass. This was a PR regression, not an inherited failure. A fresh production build's source map matches the repaired source.
Fresh paired performance against
f25a10e929c2c0875b6d3a6f6e6a2936726af520: startup 316,257 → 316,237 B gzip; one CSS request at 40,894 B. All strict budget checks pass with no warnings. The existing synthetic screenshots remain representative; this repair preserves retained progress. Production nonblank LOC across touched files: 2,238 → 2,376.