Repository navigation
fix(runtime): preserve provider errors through retries - #1218
Merged
Astro-Han merged 1 commit intoJul 19, 2026
Merged
Conversation
Contributor
Author
|
Follow-up integration verification completed against the stacked runtime + desktop changes:
The rendered UI screenshots are attached to the dependent presentation Draft #1219, where that visual behavior is implemented. |
xuruiray
marked this pull request as ready for review
July 18, 2026 17:54
xuruiray
force-pushed
the
xurui/issue-1216-retry-error-classification
branch
from
July 19, 2026 04:10
17318bb to
454f5b4
Compare
Unwrap official AI SDK RetryError instances before classifying provider evidence, while keeping abort semantics and fail-closed behavior for malformed or spoofed wrappers. Cover rate limits, provider outages, context overflow, aborts, empty wrappers, spoofed errors, and ModelAdapter projection.
xuruiray
force-pushed
the
xurui/issue-1216-retry-error-classification
branch
from
July 19, 2026 07:58
454f5b4 to
d8a2a3a
Compare
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.
Summary
RetryErrorinstances before provider error classificationContext
This is Part 1 of #1216 and is intentionally stacked on #1214 (
xurui/issue-1084-provider-error-classification) so the retry-wrapper fix remains independently reviewable. It does not change retry policy or user-facing presentation.Verification
npm --workspace @maka/runtime run typechecknpm --workspace @maka/runtime test: 2,147 passed, 7 skipped, 0 failednpm run lintgit diff --checkRefs #1216