Repository navigation
fix(cli): render models refresh JSON failures - #128981
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 25, 2026 03:04
Contributor
Author
|
Land-ready proof for head
Deterministic network isolation proves failed and disabled refreshes do not alter persisted catalog rows; no live provider credentials are involved. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 25, 2026
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
openclaw models refresh --jsonreturned the internal remote-catalog error union and exit code 1 instead of the documented canonical CLI failure envelope.Fixes #128979.
Why This Change Was Made
The CLI presentation owner now converts only
status: "error"results intoExpectedCliError, allowing the existing root renderer to own human/JSON failure output and terminal finalization. The remote-catalog union, SQLite behavior, and successfulupdated,unchanged,fresh, anddisabledpayloads remain unchanged.Production delta: +5/-8, net -3 lines. Tests: +222/-21, net +201 lines.
User Impact
Failed model-catalog refreshes produce one canonical
cli_errordocument. Successful JSON payloads, provider/model counts, disabled behavior, and human restart guidance remain unchanged.Evidence
git diff --check: passed.