Skip to content

fix(github): renew Directory token while signing records - #2034

Merged
tkircsi merged 1 commit into
mainfrom
fix/sign-lazy-bearer
Aug 17, 2026
Merged

tkircsi merged 1 commit into
mainfrom
fix/sign-lazy-bearer

Conversation

@tkircsi

@tkircsi tkircsi commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

The sign-record action received a GitHub ID token fetched once before the loop, so a batch that signs slower than the token's ~5 minute lifetime failed partway through, and took the cleanup deletes with it. Each CID is signed by its own dirctl process, so pass the audience and let each one mint a fresh token. auth_token stays for callers on a dirctl without --oidc-audience.

@tkircsi
tkircsi requested a review from a team as a code owner August 17, 2026 13:05
@github-actions

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedAug 17, 2026, 1:05 PM

@github-actions github-actions Bot added the size/S Denotes a PR that changes 50-199 lines label Aug 17, 2026
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@tkircsi
tkircsi merged commit 40c1ac5 into main Aug 17, 2026
34 checks passed
@tkircsi
tkircsi deleted the fix/sign-lazy-bearer branch August 17, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants