Skip to content

ci(backport): add retries to find-branch job#15177

Merged
gr2m merged 1 commit into
mainfrom
backport-find-branch-retries
May 11, 2026
Merged

ci(backport): add retries to find-branch job#15177
gr2m merged 1 commit into
mainfrom
backport-find-branch-retries

Conversation

@gr2m
Copy link
Copy Markdown
Collaborator

@gr2m gr2m commented May 11, 2026

Failed run that motivated this fix: https://github.com/vercel/ai/actions/runs/25675032982

The checkout and git-fetch steps of the find-branch job rely on
actions/checkout's built-in retries, which back off only ~30s in total.
A real GitHub git-server incident can persist longer than that and fails
the job before a transient outage clears (see referenced run below).

Add two explicit retries on top of actions/checkout (60s, 180s waits)
and a five-attempt backoff loop around the inner git fetch, stretching
total tolerance to roughly five minutes per step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gr2m gr2m merged commit a28844a into main May 11, 2026
19 checks passed
@gr2m gr2m deleted the backport-find-branch-retries branch May 11, 2026 21:20
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