Skip to content

[python] Retry 503s minting GitHub Actions OIDC tokens. - #6809

Merged
blp merged 1 commit into
mainfrom
fix-github-oidc-token-retry
Aug 5, 2026
Merged

[python] Retry 503s minting GitHub Actions OIDC tokens.#6809
blp merged 1 commit into
mainfrom
fix-github-oidc-token-retry

Conversation

@blp

@blp blp commented Aug 5, 2026

Copy link
Copy Markdown
Member

_github_oidc_token() sent a single unretried request to GitHub's own token-minting endpoint. A transient 503 there (seen in a feldera-qa run) killed the whole test/workload run before it ever got a pipeline handle, which also meant no support bundle existed to explain the failure.

Retry the mint on 429/502/503/504 and connection errors with exponential backoff, matching how FelderaClient already treats these as transient.

_github_oidc_token() sent a single unretried request to GitHub's own
token-minting endpoint. A transient 503 there (seen in a feldera-qa run)
killed the whole test/workload run before it ever got a pipeline handle,
which also meant no support bundle existed to explain the failure.

Retry the mint on 429/502/503/504 and connection errors with exponential
backoff, matching how FelderaClient already treats these as transient.

Signed-off-by: Ben Pfaff <blp@feldera.com>
@blp
blp requested a review from gz August 5, 2026 16:45
@blp blp self-assigned this Aug 5, 2026
@blp blp added bug Something isn't working CI/CD authentication Everything related to OIDC, AWS Cognito, auth0, tenants, issuers etc. python Pull requests that update python code QA Testing and quality assurance labels Aug 5, 2026
@blp
blp added this pull request to the merge queue Aug 5, 2026
Merged via the queue into main with commit ddbfa10 Aug 5, 2026
1 check passed
@blp
blp deleted the fix-github-oidc-token-retry branch August 5, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

authentication Everything related to OIDC, AWS Cognito, auth0, tenants, issuers etc. bug Something isn't working CI/CD python Pull requests that update python code QA Testing and quality assurance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants