ci: bind resources promotion to a verified revision - #82
Draft
Jeremy1844 wants to merge 2 commits into
Draft
Conversation
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.
DO NOT MERGE — hosted promotion checks, protected non-production exact-SHA merge, environment protection, and rollback rehearsal are unverified.
Root cause
The scheduled stage-to-production workflow delegated status evaluation to a helper that could accept an empty or incomplete signal set, did not paginate Checks, ignored commit-status contexts, and identified the current workflow by names. It then validated the event SHA but asked the merge action to merge the moving
stagebranch, so a later revision could be promoted without having been evaluated.This draft addresses only
ADV-2026-0070/RC-0070(P1, confirmed code defect). It does not claim that an incorrect production promotion occurred.Change
${{ github.sha }}.The general action/permission hardening tracked by ADV33 and replacement of the privileged merge runtime/identity tracked by ADV71 remain separate. This draft intentionally does not bundle either root.
Exact publication unit
stage@9d237dd4fb37dd1fb936e3f9649020cc43a374c88c323e81961a99a70c97116553e5b465543e22317cb36402ae317b0172d4dbf804a7cbc170159093746e98bd21cef2d7438d923748842fd3883ae7d5Both commits use
Jeremy Warren <309008057+Jeremy1844@users.noreply.github.com>.Verification
97f988470c68c6972a687faab4af30563959023a.js-yaml@4.1.0; the affected workflow has zero Actionlint 1.7.12 diagnostics.setup-node@v3runner diagnostics outside this root; filtering that separately tracked diagnostic leaves zero findings.src,assets,package.json,yarn.lock, and the encrypted deployment-credential object are byte-identical to the base.The fork has Actions disabled and zero workflow runs, so this draft has no hosted execution evidence. GitHub's
CLEANlabel describes merge topology only; it is not validation of the promotion path.Required maintainer gates
No user-data, schema, content, package, generated-artifact, or client migration is required. If the new gate blocks unexpectedly, disable scheduled promotion; do not restore empty-set success or merge a moving branch after validating another SHA.