Skip to content

Classify schema_refreshing as a retryable error - #1476

Merged
mscoutermarsh merged 1 commit into
mainfrom
schema-refreshing-error
Oct 20, 2026
Merged

mscoutermarsh merged 1 commit into
mainfrom
schema-refreshing-error

Conversation

@mscoutermarsh

Copy link
Copy Markdown
Member

Summary

  • JSON errors with code schema_refreshing are action_required, with a next step to wait and retry.
  • A local refresh-schema timeout uses that same code.
  • schema_snapshot_not_ready is still classified the same way, so older API responses keep the retry hint.

Test plan

  • go test ./internal/cmdutil/ -run TestGlobalJSONErrorSchema

Made with Cursor

The API reports a schema refresh in progress as schema_refreshing. Keep
recognizing schema_snapshot_not_ready so older responses still get the
same retry hint.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mscoutermarsh
mscoutermarsh requested a review from a team as a code owner October 20, 2026 18:45
@mscoutermarsh
mscoutermarsh merged commit b187b7e into main Oct 20, 2026
5 checks passed
@mscoutermarsh
mscoutermarsh deleted the schema-refreshing-error branch October 20, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants