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. |
# Conflicts: # ui/src/e2e/chat-managed-media-order.real-gateway.e2e.test.ts # ui/src/pages/model-providers/core-load.ts
|
Codex review: needs maintainer review before merge. What this changesThis PR derives standalone model-discovery progress and errors from the existing loader’s completion using Solid async boundaries. Example: The catalog reports refreshFailed: true while pendingProviders contains openai.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this maintainer-authored refactor open: it preserves the discovery contract, and no actionable introduced bug was found; required CI remains red. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Models settings controller connects Gateway catalog reads to the Defaults card; the existing loader admits requests and accepts results, while Solid presents progress, errors, and Retry. flowchart LR
A[Models settings] --> B[Existing core loader]
B --> C[Shared catalog store]
C --> D[Gateway models list]
B --> E[Accepted completion]
E --> F[Solid discovery feedback]
F --> B
Technical reviewBest possible solution: Keep request authority in the existing loader and use its accepted completion solely for discovery presentation. Do we have a high-confidence way to reproduce the issue? This is a refactor rather than a new bug report; source, mounted coverage, and inspected synthetic captures establish the behavior being preserved. Is this the best way to solve the issue? The change follows the approved Solid presentation direction, removes the superseded copied error field, and preserves the existing request and publication owners. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a83e3190ce63. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +41, Tests +57. Total +98 across 7 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, 4:33 PM ET / 20:33 UTC. |
Whole Pages B checkpoint at verified merged main
4611232730583082f5c49bd79f1f68dfbfbd1b60: 171 production files / 37,753 physical LOC. The canonical pinned-blob AST census and named-family audit credit merged source only; this PR is not counted. Cron remains with the recipes lane.Model Providers before → after for this PR (all other family counts above are unchanged):
This PR adopts one pending Model Providers read family: explicit model discovery. The table above counts merged main only; it does not credit this unmerged PR. Cron stays with the recipes lane.
What Problem This Solves
Saved model selectors remain mounted and usable while discovery runs. The existing catalog owner still admits requests, cancels retired requests, and publishes accepted results. A boxed completion receipt feeds a deferred computation under
Loading/Errored;isPendingdrives discovery feedback. The status slot always reads the completion, including when providers still report progress, so a failed request cannot hide its Retry button.The renderer deliberately retains the accepted catalog during refresh. It does not duplicate a Gateway request or replace the plain owner with reactive authority. Core inventory and explicit discovery retain separate receipts after integrating current main.
Evidence
pnpm deadcode:knippasses, exit0; no new ignore.4d86333f6a82117ede1c530fa0b2a3b70341bcab→ head22311737e3f8cfa9156021dddee5f6c544894f38, same machine, Node24.22.0, Vite8.3.4, Solid rc.16 and fixed metadata. All seven canonical plugin distributions were freshly rebuilt; complete manifests/assets and runtime/build-input hashes match. Startup 325,512 → 325,540 B (+28); Chat 1,442,105 → 1,442,140 B (+35); New 1,019,875 → 1,019,884 B (+9). Startup CSS 40,896 B /1 request; JS requests 9/27/22, unchanged. All42 locale deltas +0..+4 B. Both strict checks exit0. Base startup is over325,000 B; the delta stays within64 B. Earlier cached-distribution figures are superseded. The subsequent530019 head changes only the E2E test, so these sealed production/build-input-identical measurements remain valid.530019470cb3cf85da1eb545fdcc94667b3082bcpasses; every job succeeds or skips. The prior run exposed a titlebar sample taken during the sidebar expansion transition. This head waits for the expanded width and preserves every geometry and drag-gap assertion. No inherited-failure waiver is used.Production LOC against the original pinned
4d86333fdiff base: Model Providers 6,788 → 6,829 (+41); whole Pages B 37,542 → 37,583 (+41). Explicit discovery replaces one manual read presentation with native deferred readiness: one additionalLoading,Errored,isPending, andcreateDeferred. Existing pairedonSettledstays; items1,2,5–10 add no pending site. Mutation ownership is unchanged. No new dependency, tag, class, route, lazy-boundary, or owner-authority change. No external lease.The retained HTML Count diagnostic records only synthetic preview state on failure. It adds no waits, retries, production seam, or policy change; the prior full run passes that assertion, without establishing its original cause.
No external test lease used. Screenshots are synthetic-only, before left and after right.