Skip to content

ci(release): the gates job grants id-token: write, so v0.1.0-preview.10 can be cut - #139

Merged
Hafeok merged 1 commit into
mainfrom
claude/release-gates-id-token
Oct 20, 2026
Merged

Hafeok merged 1 commit into
mainfrom
claude/release-gates-id-token

Conversation

@Hafeok

@Hafeok Hafeok commented Oct 20, 2026

Copy link
Copy Markdown
Owner

A one-line fix to release.yml, for the release of #134. No release descriptor.

What this changes, and why

Refs #134, #89. #135 waits on this: it can't land while two release descriptors are pending.

What was measured

I read every job in ci.yml. The workflow default is contents: read, and these jobs set their own permissions:

Job Asks for
auth-mock-oauth2, storage-services, fleet-services, auth-zitadel, aspire, samples-eventhubs contents: read, packages: read
container contents: read, packages: write, id-token: write

No other job sets permissions. After this change none asks for more than gates grants, and no other job needs listing. The only uses: ./ steps in ci.yml are the tools/repo-standard action, which can't widen permissions.

Run locally on the branch: eng/required-checks.cs, eng/issue-refs.cs, eng/dco.cs and eng/release.cs -- --check all pass. The YAML parses.

What was found

Nothing else.

What is left


Checklist


Generated by Claude Code

A called workflow's jobs get no more than the caller grants, and a run
whose called job asks for more never starts. #134 gave ci.yml's
container job id-token: write (a972638), which release.yml's gates job
did not grant, so every Release run since, on land/release-v0.1.0-preview.10
and on main, ended in startup_failure and v0.1.0-preview.10 was not cut.
Every other ci.yml job asks for contents: read and packages: read or
write, within what gates grants.

Refs #134
Refs #89

Signed-off-by: Emil Okkels Klein <hannibal.okkels@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014BgePW3C3ECWERkiQMVdPb
@Hafeok

Hafeok commented Oct 20, 2026

Copy link
Copy Markdown
Owner Author

approve e95d4c0

@Hafeok

Hafeok commented Oct 20, 2026

Copy link
Copy Markdown
Owner Author

approve e95d4c0

Hafeok commented Oct 20, 2026

Copy link
Copy Markdown
Owner Author

agent review (judge) failed in run 39418290572 because of a GitHub API error, not this change.

eng/agent-review.cs exited 2 before it judged anything. Its log line:

could not read whether e95d4c0… is an approved pull request's head: Response status code does not indicate success: 500 (Internal Server Error)

The agent review check on e95d4c0 already reads success from your approval.

A re-run of the failed job should clear the judge. I can't trigger one myself: the Actions API answers this session with 403 Resource not accessible by integration. The rest of CI is green or still running.


Generated by Claude Code

@Hafeok
Hafeok merged commit e95d4c0 into main Oct 20, 2026
63 of 64 checks passed
@Hafeok
Hafeok deployed to auth-providers October 20, 2026 19:04 — with GitHub Actions Active
Hafeok added a commit that referenced this pull request Oct 21, 2026
…t maintenance

Refs #110

Signed-off-by: Emil Okkels Klein <hannibal.okkels@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014BgePW3C3ECWERkiQMVdPb
Hafeok added a commit that referenced this pull request Oct 21, 2026
main moved 15 commits, among them milestone Extent maintenance (#110),
which adds store tests: ExtentMergeTests and ObjectReaderScheduleTests in
process, and the extent maintenance legs against Azurite and RustFS in
storage (services). The pull request could not merge, so CI did not run
on ac143f8. One conflict: docs/testing.md gained section 7 on main
(Extent maintenance) and here (how long the tests take); main's keeps 7,
this one becomes 8, and the nightly workflow's references follow it.

The next run is the baseline for Extent maintenance's tests in the store
step, as #126 asks when that milestone lands first.

Refs #126

Signed-off-by: Emil Okkels Klein <hannibal.okkels@gmail.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YWZaiBxSK7r6aizeG5YWo3

This branch was successfully deployed

3 active deployments
gates — e95d4c0e Deployed Oct 21, 2026 by Hafeok via agent review (judge) #317
release — e95d4c0e Deployed Oct 20, 2026 by varve-gates[bot] via publish #10
auth-providers — e95d4c0e Deployed Oct 20, 2026 by Hafeok via auth (providers) #316
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