fix(flows): de-flake flow-03 first LiteLLM completion (retry + surface HTTP status)#744
Closed
bussyjd wants to merge 2 commits into
Closed
fix(flows): de-flake flow-03 first LiteLLM completion (retry + surface HTTP status)#744bussyjd wants to merge 2 commits into
bussyjd wants to merge 2 commits into
Conversation
The first chat completion after stack-up intermittently fails with empty output (curl -f hides the response; observed across three release-smoke runs while steps 3-7 through the same port-forward and key always pass). Retry up to 3x and surface the HTTP status so a real failure is diagnosable instead of an empty string. Claude-Session: https://claude.ai/code/session_014YjPMViNrZ7zBVgUQzwEKk
bussyjd
enabled auto-merge (squash)
July 14, 2026 07:15
4 tasks
Contributor
Author
auto-merge was automatically disabled
July 14, 2026 10:50
Pull request was closed
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.
The first completion after stack-up intermittently fails with an empty error (
curl -sfdiscards the body/status) while every subsequent request through the same port-forward + key passes — seen in 2 of 3 v0.13.0-rc4 release-smoke runs, each time only on step [2]. Retries up to 3× and reports the HTTP status on failure so the next flake is diagnosable. Test-harness only; the assertion (completion must returnchoices) is unchanged.https://claude.ai/code/session_014YjPMViNrZ7zBVgUQzwEKk