Repository navigation
fix(cli): retry interrupted GET responses across commands - #1548
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
betegon
marked this pull request as ready for review
October 20, 2026 14:33
betegon
force-pushed
the
bt/cli-retry-response-body
branch
from
October 20, 2026 14:37
7fbe290 to
4172910
Compare
betegon
force-pushed
the
bt/cli-retry-response-body
branch
from
October 20, 2026 14:43
4172910 to
e42f0f4
Compare
betegon
force-pushed
the
bt/cli-retry-response-body
branch
from
October 20, 2026 15:23
c48e9b8 to
34a146b
Compare
This branch was previously deployed
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.
HTTP 200 could leave an interrupted response body outside the CLI's retry loop, causing
TypeError: terminatedinsentry apiand other commands (CLI-294). Complete finite GET bodies within the existing three-attempt retry and timeout budget across generated SDK operations and handwritten API helpers.An SDK request interceptor carries parsing intent into the shared transport, which remains the only retry owner. Explicit streams, automatic stream responses, and SSE stay streaming; successful mutations are not replayed for body errors. JSON parsing and validation remain outside retries. The original Response, headers, binary bytes, and discovery provenance are preserved.
Validation: 21 regression cases covering raw/manual/SDK requests, issue pagination, replay segments, cancellation, timeouts and streaming. Disabling body recovery fails the selected manual/raw/issue-list tests; forcing default buffering fails the streaming-isolation test. Full typecheck, lint and test gates pass.