Conversation
…eds (#752) release.yml's python-gates called parity.yml with permissions {contents: read}. parity.yml's notify-planner-drift job declares {issues: write}. A called workflow may never exceed its caller's grant, and that check is STATIC -- it runs before any job and ignores the if: that keeps notify-planner-drift to repository_dispatch. So every v* tag failed the entire run with startup_failure and zero jobs. Reproduced by the v0.6.0-rc1 tag: run 31830969596, startup_failure, no jobs, no release object, no assets published. Granted here rather than removed from notify-planner-drift, which genuinely needs it on its own trigger to file the planner-drift tracker. A sweep of every local caller/callee pair now reports zero conflicts. Co-authored-by: Caner Alp <contact@alplab.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promotes
dev(3f39f34) tomainso thev0.6.0-rc1tag can point at a commit whoserelease.ymlcan actually start.Why a second promotion
The first
v0.6.0-rc1tag failed the entire release run withstartup_failureand zero jobs — run31830969596.release.yml'spython-gatesgrantedparity.ymlonlypermissions: {contents: read}, whileparity.yml'snotify-planner-driftjob statically declarespermissions: {issues: write}. A called workflow may never exceed its caller's grant, and GitHub evaluates that before any job runs, so theif:restricting that job torepository_dispatchnever mattered.No release object and no assets were created, so the tag was retracted under the "only retract what nothing has consumed" rule and deleted from both remote and local.
This promotion carries #752, which grants
issues: writeat the call site. A sweep of every local caller/callee pair now reportsconflicts remaining: 0.Content
Identical to #751 apart from that one workflow fix — same version files, same CHANGELOG section:
Gates
#752 merged through the queue: 31 success, 0 red. The full local suite on this tree was green before the first promotion —
5126 passed, 64 skipped, 1 xfailed, parity included — and #752 changes only.github/workflows/release.ymland adds a changelog fragment.main's required contexts were corrected in the same session: the five retired Rust checks (lint,msrv,test (ubuntu|windows|macos-latest)) were removed — their producer was deleted by this very release — andzizmor · workflow securitywas added to matchdev.After this
Retag
v0.6.0-rc1on the newmain, then confirmrelease.ymlstarts — jobs present, not merely a run created. A created-but-empty run is what the first attempt produced.