Repository navigation
fix(ai): retry gateway connect failures and reset streams - #6345
Merged
dan-petty merged 1 commit intoNov 19, 2026
Merged
Conversation
dan-petty
force-pushed
the
fix/4753-a-short-connect-failure-to-the-gateway-stops-intake
branch
from
November 19, 2026 02:25
faf13b4 to
69da5ad
Compare
Retry gateway connect failures up to 10 attempts bounded by outer read timeout. Retry pre-output stream resets before first chunk. Stop replay after stream output and report connection error with root cause. Closes #4753 OpenSpec: archive/2026-11-19-4753-a-short-connect-failure-to-the-gateway-stops-intake
dan-petty
force-pushed
the
fix/4753-a-short-connect-failure-to-the-gateway-stops-intake
branch
from
November 19, 2026 02:34
69da5ad to
c50f8f6
Compare
Owner
Author
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44445309601/job/135295897624 Skipped check: Plan Check |
dan-petty
marked this pull request as ready for review
November 19, 2026 02:41
dan-petty
deleted the
fix/4753-a-short-connect-failure-to-the-gateway-stops-intake
branch
November 19, 2026 02:46
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 19, 2026
🤖 I have created a release *beep* *boop* --- ## [0.179.2](v0.179.1...v0.179.2) (2026-11-19) ### Bug Fixes * **ai:** retry gateway connect failures and reset streams ([#6345](#6345)) ([f0a5435](f0a5435)) * **deps:** drop the ignore of the withdrawn picomatch advisory ([#6348](#6348)) ([1447ec3](1447ec3)) * **k8s:** loosen the stage limits and correct the Service config notes ([#6356](#6356)) ([397d066](397d066)) * **roadmap:** skip Python keywords in stage removal names ([#6349](#6349)) ([5e6822d](5e6822d)) * **roadmap:** Tell the stage planner what counts as source code ([#6335](#6335)) ([b9060f5](b9060f5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
A short connection failure to the AI gateway can stop a roadmap command like intake. The existing HTTP transport retry makes five attempts in 38 seconds. When a temporary network glitch lasts slightly longer, the command fails and writes nothing. Also, when a connection error occurs, the error message lacks details like the exception class and host.
Closes #4753
Change:
openspec/changes/archive/2026-11-19-4753-a-short-connect-failure-to-the-gateway-stops-intake/