Repository navigation
refactor(ui): use Solid async feedback for provider reads - #179503
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
Contributor
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. |
Contributor
Author
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
Grynn
added a commit
to Grynn/openclaw
that referenced
this pull request
Oct 21, 2026
Upstream grew ui/src/pages/model-providers/view.tsx (Solid async provider reads, openclaw#179503); with the native-route readiness credential summary on top it exceeded the 700-line max-lines rule. Move the runtime-managed credential label into view-status.tsx beside the other native-route readiness helpers. No behavior change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 22, 2026
…79503) * refactor(ui): use Solid async feedback for provider reads * fix(ui): observe provider core refresh readiness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Models settings used owner flags for pending and error feedback around its core auth/catalog refresh. Move that presentation to Solid 2 while preserving accepted provider cards, default-model controls, search and Retry identity.
The loader exposes one completion receipt for each admitted read and settles retired receipts immediately, even if transport abort is ignored. An always-mounted native readiness read observes pending and successful refreshes;
isPendingdrives the existing Refresh and Retry affordances. A separateLoading/Erroredslot presents the accepted error. Initial route loading stays with the router, and all admission, auth-before-catalog ordering and publication queues remain with the plain TypeScript owner.The error slot also follows accepted-data rollback: a failed API-key refresh can return to the mutation warning without leaving duplicate page feedback. Roster and no-selectable-agent failures keep precedence.
Evidence
e13e0b0dThe independent review proposed sharing core readiness with standalone catalog discovery. That is deliberately declined: on the exact base, standalone discovery changes
catalogRequest, while page Refresh observes the separateactivecore request. The discovery lane confirmed its separate completion owner. Preserving that boundary retains existing behavior and avoids coupling two request families. The sole source edit after review clarifies a comment.The original Bun thread attempt failed before collecting tests. The supported pinned-Bun fork pool supplies the test results above; this is not a Node runtime substitution.
Replacement-head full CI 39622936407 has exactly three failed cases. The latest completed scheduled main 39635924183 fails the compact-identity and native-titlebar cases by the same names, but passes Agent scope. Agent scope was therefore reproduced on this PR's actual tested main parent
c16b5166520bf768b7155cd9f1d4b58eb25d68ddusing the standard production-bundled Playwright configuration, one case and one worker. It failed at the identical assertion on line 328 withbelowCard: false,anchoredToCard: false,inViewport: true. The production build passed; the result was 1 failed / 6 skipped. No source or expectation was changed for that reproduction.Control UI agent page scope > scopes pages from the chip and keeps Agents settings independentc16b5166, same assertion and valuescompact identity menu > keeps common actions visible with nine native gateways and opens an unclipped keyboard switcher39635924183, job119346775261Control UI native-nav sidebar toggle E2E > hosts navigation, search, sessions, and history in web titlebar chrome39635924183, job119346775328The two failed PR jobs identify actual CI merge
a1ce829270176b9a989476bbc705898679f27370, combining that exact main parent and this PR head. These failures use the documented inherited-failure landing route; they are not claimed green. Both real-Gateway shards, the performance check and lint passed. The exact-base Agent scope invocation explicitly used Node for the Playwright E2E configuration; focused UI unit proof used the pinned Bun fork.Production LOC: 1,578 → 1,647 (+69). Test/fixture LOC: 1,256 → 1,388 (+132). The growth adds a completion receipt with prompt retirement, stable readiness observation and regression proof; accepted data and request authority are not duplicated.
Native
Loadinguses 0 → 2,Errored0 → 1,isPending0 → 1, andlatest0 → 1. Existing effects remain 2 → 2; component cleanup, render effects, imperative listeners/queries, owner-escape APIs, manual imports and manual component construction remain 0 → 0. The synchronous loading fact remains owner admission authority; the view no longer consumes it as pending presentation.7debccb2e13e0b0dStrict performance exits 1 on both sides because the existing absolute startup cap (325,476 B) and chat cap (1,500,000 B) are already exceeded. No budget or baseline changed. Startup raw bytes grow 84 B; gzip stays within build variance and decreases 10 B. No lazy boundary or import is moved into boot.
Visual evidence
The real built Models route uses synthetic Gateway data. Four states cover refresh pending, accepted error, Retry pending and recovery. The capture checks actual request admission, disabled pending controls and retained search state. Focused mounted tests also retain default-model picker identity and Retry focus. These are bounded local captures, not live-Gateway E2E claims; broad UI and real-Gateway proof runs under
ci:full.The corrected captures and strict measurements use the validated bundle for
e13e0b0de4a356ce7d767d65d41c3d1f72378127. The full build completed, and the promoted index and build-input hashes match the staged output measured and captured.