Repository navigation
Conversation
Split bootstrap_rust_crates.yml into an unprivileged plan job and the protected rust-bootstrap job so reviewers can inspect the exact crate list in the workflow run summary before approving irreversible 0.0.0 placeholder publishes.
PsiACE
approved these changes
Nov 23, 2026
This branch has not been deployed
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.
Previously,
bootstrap_rust_crates.ymlhad only a single job bound to therust-bootstrapenvironment, so reviewers had to approve the deployment gate without seeing which crates would receive irreversible0.0.0placeholder publishes.This change adds an unprivileged
planjob before the protectedbootstrapjob:planvalidates themaindispatch ref/commit and runsbootstrap.py discover, writing a grouped Markdown summary toGITHUB_STEP_SUMMARY(new crates to publish as0.0.0, existing0.0.0placeholders to reconcile/verify, and established crates audited only, plus a warning if any established crate lackstrustpub_only).bootstrapdepends onplanand waits on therust-bootstrapenvironment approval. After approval, it still checks out the samegithub.shaand runs the full authenticated audit before any write, then appends the applied results toGITHUB_STEP_SUMMARY.planruns read-only against public crates.io metadata without credentials so it cannot leak secrets or bypass the approval gate; because crates.io state could change while waiting for review,bootstrapdoes not trust outputs fromplanand re-audits from scratch.