Skip to content

ci: retry gh release list in watch-openapi (transient 401) - #396

Merged
TKIPisalegacycipher merged 1 commit into
mainfrom
ci/watch-openapi-retry-main
Jun 10, 2026
Merged

ci: retry gh release list in watch-openapi (transient 401)#396
TKIPisalegacycipher merged 1 commit into
mainfrom
ci/watch-openapi-retry-main

Conversation

@TKIPisalegacycipher

Copy link
Copy Markdown
Collaborator

Wrap the gh release list --repo meraki/openapi lookup in a 5-attempt backoff.

Why

Run 27286337590 failed: check-beta got 401 Unauthorized on its first gh call while check-ga and check-dev passed with the identical command and token. Each job mints its own GITHUB_TOKEN and hits api.github.com concurrently at startup; occasionally one token 401s on first use. A transient auth blip should not fail the whole scheduled run.

Change

Retry loop (5 attempts, linear backoff) around each gh release list call in the check jobs. Errors out only after all attempts fail.

🤖 Generated with Claude Code

The check-* jobs each mint their own GITHUB_TOKEN and hit api.github.com
concurrently at job start. Occasionally one token 401s on first use
(check-beta in run 27286337590), failing the whole run while sibling
jobs pass with the same command. Wrap the lookup in a 5-attempt backoff
so a transient auth blip no longer fails the run.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@TKIPisalegacycipher
TKIPisalegacycipher merged commit cc05718 into main Jun 10, 2026
2 checks passed
@TKIPisalegacycipher
TKIPisalegacycipher deleted the ci/watch-openapi-retry-main branch June 10, 2026 19:13
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.

1 participant