Skip to content

fix(github): retry a connect failure on GitHub session GET - #5832

Merged
dan-petty merged 1 commit into
mainfrom
fix/5805-retry-connect-failure-github-session
Nov 15, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/5805-retry-connect-failure-github-session

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

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/

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 dan-petty added type/bug Type bug: the code does not do what it must scope/github GitHub Projects v2, Views, Milestones, Labels, and PR automation labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 13:30
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: e8e353ff5f47ec9832799c4e05efce53c3ba8f3e

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
CodeQL success run
Plan Check skipped run
Dependency Freshness skipped run
Tests on Main skipped run
Test Job Duration skipped run
Design Tokens success run
Runner Image success run
Tests & Coverage (shard 1 of 4) success run
Tests & Coverage (shard 2 of 4) success run
Tests & Coverage (shard 3 of 4) success run
Changed-Test Independence success run
Service Image success run
Tests & Coverage (shard 4 of 4) success run
MCP Server Image success run
Docs Site Build success run
Static Analysis success run
Analyze (actions) success run
Analyze (python) success run
Fail-to-Pass Check success run
Semantic PR title success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/43718652690/job/132825581453

Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Tests on Main
Skipped check: Test Job Duration

@dan-petty
dan-petty merged commit 7fc5a87 into main Nov 15, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/5805-retry-connect-failure-github-session branch November 15, 2026 13:32
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/github GitHub Projects v2, Views, Milestones, Labels, and PR automation type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(github): retry a short connect failure on the intake issue listing

1 participant