Skip to content

CI: retry CMake configure to survive transient Oboe FetchContent clone failures#259

Merged
winnerspiros merged 1 commit intomasterfrom
copilot/task-1675249-108325636-8579586a-bc33-4b80-af7a-9aaa7ba35d29
Apr 23, 2026
Merged

CI: retry CMake configure to survive transient Oboe FetchContent clone failures#259
winnerspiros merged 1 commit intomasterfrom
copilot/task-1675249-108325636-8579586a-bc33-4b80-af7a-9aaa7ba35d29

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 23, 2026

Run 24845529416 failed during the native build because FetchContent hit a transient GitHub outage while cloning google/oboe:

remote: Internal Server Error
fatal: unable to access 'https://github.com/google/oboe.git/': The requested URL returned error: 500
CMake Error ... Failed to clone repository: 'https://github.com/google/oboe.git'

git has no built-in retry for HTTP 5xx, so a single flaky response from github.com aborts the whole release build.

Changes

  • .github/workflows/release.yml — wrap the cmake configure step (the one that triggers the Oboe FetchContent clone) in a 5-attempt retry loop with incremental backoff (10s / 20s / 30s / 40s). Each retry rm -rfs build-native/$ABI first so FetchContent re-clones from a clean state rather than tripping on half-written stamp files. cmake --build is unchanged and only runs after a successful configure.

No CMake or source changes — the underlying Oboe pin (main, shallow) is intentional and the failure mode is purely network flakiness on the runner.

…lures

Agent-Logs-Url: https://github.com/winnerspiros/osu/sessions/cbfdde86-494f-4e8b-8ac0-58ea639db24b

Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>
@winnerspiros winnerspiros marked this pull request as ready for review April 23, 2026 16:11
Copilot AI review requested due to automatic review settings April 23, 2026 16:11
@winnerspiros winnerspiros merged commit 858c452 into master Apr 23, 2026
5 of 15 checks passed
@gitar-bot
Copy link
Copy Markdown

gitar-bot Bot commented Apr 23, 2026

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

Copilot AI review requested due to automatic review settings April 23, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants