Repository navigation
fix(ui): retain controls after partial catalog refresh - #144750
Merged
Merged
Conversation
Contributor
|
🦞👀 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. |
Collaborator
Author
|
Thanks @Conan-Scott for the operator report. Proof: Both existing chat and New Session pass the real-Gateway regression after a partial provider refresh. Eight browser regressions, affected sibling checks, and all 50 config/state corpus checks pass. Sanitized before/after captures are in the PR body.
|
This was referenced Sep 11, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Sep 12, 2026
Fixes openclaw#144726. ## What Problem This Solves Fixes an issue where users lose effort and speed controls in existing chats when another provider fails to refresh its model catalog. The operator reported this on 2026.9.4; New Session retained its controls under the same condition. ## Why This Change Was Made Both pages now share catalog readiness and retain partial-refresh warnings separately from failed requests. Controls use the selected model's capabilities and availability, while the model menu keeps the refresh notice visible. ## User Impact | Same usable catalog with a partial refresh warning | Before | After | | --- | --- | --- | | Existing chat | Models listed; effort and speed hidden | Models and supported controls remain available | | New Session | Supported controls available | Supported controls remain available | | Warning | Catalog error presentation | Notice without changing readiness | ## Evidence - Pinned-main mock and real-Gateway browser reproductions fail on the missing existing-chat effort control; candidate passes both pages. - Eight browser cases cover partial provider failure, warning recovery with retained settings, locked selection, empty catalogs, rejected reads with and without retained rows, unavailable selected models, and non-reasoning models. - Config/state corpus: 50 passed. Extended owner/default tests: 127 passed. Browser regressions and affected siblings: 11 passed. CI inventory checks: 40 passed. - Independent browser acceptance passed. Telegram Test Server acknowledged the native effort command. - Focused formatting/lint and diff checks passed. No schema or protocol change. The real-Gateway fixture uses fake credentials and a simulated Copilot HTTP 503, with no network inference. The captures below are cropped to the complete conversation area; the unrelated sidebar is excluded from both baseline and candidate images. | Surface | Before | After | | --- | --- | --- | | Existing chat |  |  | | New Session |  |  | Refresh notice remains visible beside the supported controls:  Known unrelated main failure: the session-link presentation test expects `inline-grid` but observes `grid` in an existing flex container. The same test and styles fail in [main CI](https://github.com/openclaw/openclaw/actions/runs/34567817345/job/103163547116) and are unchanged by this PR. Co-authored-by: Ayaan Zaidi <[email protected]>
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.
Fixes #144726.
What Problem This Solves
Fixes an issue where existing chats lost effort and speed controls when another provider failed to refresh, even though usable model choices remained.
Why This Change Was Made
Existing chat and New Session now share catalog readiness. Partial-refresh warnings remain separate from failed requests, and supported controls use the selected model’s published capabilities and availability.
User Impact
Usable models keep their effort and speed controls while the refresh notice stays visible. No schema or protocol change.
Consumers: existing-chat and New Session controls share readiness semantics.
Evidence
Mock and real-Gateway browser reproductions failed before the fix and passed afterward. Eight browser scenarios covered partial failure, recovery, locks, empty or rejected results and unsupported controls. Eleven browser regressions/siblings and 127 capability/default tests passed. Telegram acknowledged the native effort command. An unrelated session-link layout test remained failing on the base.