Repository navigation
fix(github): retry a connect failure on GitHub session GET - #5832
Merged
Merged
Conversation
On 2026-11-11, `devops roadmap intake` stopped after 3 minutes 10 seconds because the issue listing read raised `ConnectTimeout`. The same command worked a few minutes later. The GitHub session retries a lost connection, but it does not retry a connect failure. This change resends a GET after `httpx2.ConnectError` or `httpx2.ConnectTimeout`, and it never resends a write. Closes #5805 Change: `openspec/changes/archive/2026-11-15-5805-retry-connect-failure-github-session/`
dan-petty
marked this pull request as ready for review
November 15, 2026 13:30
Owner
Author
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/43718652690/job/132825581453 Skipped check: Plan Check |
dan-petty
pushed a commit
that referenced
this pull request
Nov 15, 2026
🤖 I have created a release *beep* *boop* --- ## [0.153.0](v0.152.1...v0.153.0) (2026-11-15) ### Features * **monitoring:** Turn on the Loki pattern ingester ([#5833](#5833)) ([1189ce3](1189ce3)) * **roadmap:** Re-stage an item whose draft plan fails ([#5816](#5816)) ([631a0b3](631a0b3)) ### Bug Fixes * **github:** retry a connect failure on GitHub session GET ([#5832](#5832)) ([7fc5a87](7fc5a87)) * **roadmap:** Read the plan head by SHA, not FETCH_HEAD ([#5831](#5831)) ([2b46370](2b46370)) * **security:** configure read-only root file system for GFD ([#5807](#5807)) ([3c902d7](3c902d7)), closes [#5791](#5791) * **security:** Keep a lower-case name after a token keyword ([#5824](#5824)) ([c4b2fc9](c4b2fc9)) * **tests:** Name the ceiling file and the usual fix ([#5829](#5829)) ([cd0974c](cd0974c)) --- 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.
On 2026-11-11,
devops roadmap intakestopped after 3 minutes 10 seconds because the issue listing read raisedConnectTimeout. The same command worked a few minutes later. The GitHub session retries a lost connection, but it does not retry a connect failure. This change resends a GET afterhttpx2.ConnectErrororhttpx2.ConnectTimeout, and it never resends a write.Closes #5805
Change:
openspec/changes/archive/2026-11-15-5805-retry-connect-failure-github-session/