Repository navigation
ci: reference first-party actions at main and vendor actions by major tag - #18531
Conversation
… tag Every melodic-software/* ref in workflows and composite actions moves from a SHA pin to @main, and every actions/* ref to its moving major tag, per the owner decision in architecture owner-decisions "Action pinning (D3)". Third-party refs stay SHA-pinned. Retires the daily ci-workflows repin workflow and its script and test, the ci-workflows-commits field of the central lane grants, the Dependabot ignore for ci-workflows actions, and the tests that required one ci-workflows pin. Tests that read ci-workflows files at the workflows' ref resolve main to its tip. ADR 0126 records the decision and supersedes ADR 0085 Decision 4. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The change edits docs/conventions/pr-pipeline/ and source-control tests, so each needs a fragment: a patch for pr-pipeline, none for the test-only source-control edit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-security-review reviewed Chunk 1 of 4 (40 files)Security review: chunk 1 of 4 (40 files, blocking only)No security issues found. This lane already reviewed an earlier head of this pull request, so this was a blocking-only review: it looked only for CRITICAL and IMPORTANT findings, and it found none. All 40 files in What the chunk changes
Owner threat model (named friction holds, nothing held)
Other checks
Chunk 2 of 4 (17 files)Security review: chunk 2 of 4 (blocking only)No security issues found. This lane already reviewed an earlier head of this pull request, so this review was blocking only: it looked only for CRITICAL and IMPORTANT findings, and found none. I read every hunk of all 17 listed files in What the chunk changes
Owner threat model (named friction holds, nothing held)
Other checks
Chunk 3 of 4 (28 files)Security review: chunk 3 of 4 (28 files, blocking only)No security issues found. This lane already reviewed an earlier head of this pull request ( I read every hunk of all 28 files in What the chunk changes
Owner threat model (named friction holds, nothing held)
Other checks
Chunk 4 of 4 (2 files)Security review: chunk 4 of 4 (blocking only)I found no security issues in this chunk. This lane already reviewed an earlier head of this pull request ( I read every hunk of
Owner threat model (named friction holds, nothing held): this chunk removes the ci-workflows repin ceremony (the script and its test) and relaxes the test's first-party pin assertion to Other checks:
critical-findings: 0 |
|
claude-review reviewed Chunk 1 of 4 (40 files)Code-review lane, chunk 1 of 4: no blocking findings. This lane already reviewed an earlier head ( Scope. I read every hunk of the 40 files in
What I checked myself (with Read and Grep only, nothing executed):
Closing issue #18556. This chunk covers four of its "Done when" items:
The other items are in later chunks. Loosened checks. The prompt has no Spend. Running first-party actions at The PR's "Verification" section was not confirmed by this review: it is the author's claim. I ran no tests. Verifier dropped 0 of 0 candidates. Chunk 2 of 4 (17 files)Code-review lane, chunk 2 of 4: no blocking findings. This lane already reviewed an earlier head ( Scope. I read every hunk of the 17 listed files in What I checked myself (with Read and Grep only, nothing executed):
Closing issue #18556. This chunk covers "Done when" item 4: the repin workflow is deleted and its floor row is removed. It also covers items 1 and 2 for these 17 workflows. The rest is in other chunks. Loosened checks. The prompt has no Spend. Running actions at The PR's "Verification" section (actionlint, zizmor, the sync Verifier dropped 0 of 0 candidates. Chunk 3 of 4 (28 files)Code-review lane, chunk 3 of 4: no blocking findings. This lane already reviewed an earlier head of this PR ( Scope. I read every hunk of the 28 files in
What I checked myself (Read only, nothing executed):
Closing issue #18556. This chunk covers three of its "Done when" items:
The other items are in other chunks. Loosened checks. The prompt has no
Loosened checks would be marked: n/a. The criterion file was not re-read this round. Spend. Running first-party actions at The PR's "Verification" section (actionlint, zizmor, sync Verifier dropped 0 of 0 candidates. Chunk 4 of 4 (2 files)Code-review lane, chunk 4 of 4: no blocking findings. This lane already reviewed an earlier head ( Scope. I read every hunk of What I checked myself (Read and Grep only, nothing executed):
Closing issue #18556. This chunk covers part of the item "The repin workflow Loosened checks. The prompt has no Spend. No spend in this chunk. The PR's "Verification" section (test runs, actionlint, zizmor) is what the author says they ran; I did not run any of it. Verifier dropped 0 of 0 candidates. critical-findings: 0 |
# Conflicts: # .github/workflows/pr-require-checks.yml # plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py # plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py
|
The pr-verify verifier failed head What it wrote (81 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18531 -f activity=resolve-conflicts |
# Conflicts: # .github/scripts/plugin-eval/eval-handoff.test.mjs # .github/scripts/plugin-eval/hill-climb-workflow.test.mjs # .github/workflows/pr-require-checks.yml # plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py # plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py
# Conflicts: # .github/workflows/pr-require-checks.yml # plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py # plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py # plugins/source-control/skills/babysit-prs/scripts/tests/test_merge_holds_sync.py
Every read already resolves main to its tip through fetchAtPin, but the cache helper no longer refused a ref that was not a full SHA itself. Restore that guard, and test that a main contract read caches only under the tip's SHA. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main took 0126 for the vendor-routing ADR, so the action-pinning record becomes 0129, the next free number, and its citations follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # .github/scripts/plugin-eval/eval-handoff.test.mjs
…rule tests The third-party branch of the pin-rule regex matched any owner, so a melodic-software or vendor ref pinned by SHA still passed. It now excludes those owners, so melodic-software refs must be @main and vendor refs @vn. Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts: # .github/workflows/pr-require-checks.yml # plugins/source-control/skills/babysit-prs/scripts/tests/test_diff_risk.py # plugins/source-control/skills/babysit-prs/scripts/tests/test_floor_paths.py
Closes #18556
Summary
Every
melodic-software/*ref in this repository's workflows and composite actions moves from a SHA pin to@main, and every official vendor ref (actions/*, the only vendor owner pinned here) to its moving major tag. Third-party refs stay SHA-pinned. ADR 0129 records the decision and supersedes ADR 0085 Decision 4.Owner, verbatim (architecture owner-decisions L351): "If it's owned by us, it should not be pinned. If it involves an untrusted third-party library ... it should be pinned, as long as those still flow automatically through Dependabot and cooldowns ... official vendor like Microsoft or Anthropic or OpenAI ... those I don't want pinned".
Fix
uses:refs rewritten: 1,300 in 40 files. First-party (melodic-software/ci-workflows, fromv0.82.1): 749 to@main. Vendor: 551,actions/checkout@v7(211),upload-artifact@v7(165),download-artifact@v8(71),cache@v6(37),setup-node@v7(31),setup-python@v7(23),github-script@v9(9),create-github-app-token@v3(4). Each major tag was checked withgh api repos/actions/<name>/git/ref/tags/<tag>.ref:checkouts of ci-workflows (the classifier inpr-run-plugin-evals.ymlandmaintenance-measure-skill-edit-pass.yml) move tomain.ci-workflows-at-pin.mjsresolvesmainto its current tip, so tests that read a ci-workflows file at the workflows' ref keep working. Every read resolves its ref to a full SHA before it caches, and the cache itself still refuses anything but a full SHA. A test proves that amaincontract read caches only under the tip's SHA.check-comment-hygiene.shacceptsmainor a SHA, so a merge base from before this change still works.node scripts/sync-credential-legs.mjs) and so were the hold-floor blocks (python3 -I scripts/sync-hold-floor.py, which drops the deleted repin workflow's floor row). The floor counts and digests in the babysit tests were updated to match..github/workflows/pr-check-managed-files-hosted.yml(main's sync has since moved it to@main) and.github/standards/github-actions-conventions/vocabulary.json(still listsrepin-ci-workflowsas in use).plugins/that show SHA-pinneduses:lines as sample data.Loosened checks
.github/workflows/maintenance-repin-ci-workflows.yml(the daily ci-workflows repin),scripts/repin-ci-workflows.shandscripts/repin-ci-workflows.test.share deleted. Reason: owner decision: first-party and vendor refs run unpinned (architecture owner-decisions L351, spec Reference first-party actions at main and official vendor actions by major tag #18556).@maininstead of one shared commit:pr-verify/workflow.test.mjs("every ci-workflows action is pinned to one commit"),plugin-eval/hill-climb-workflow.test.mjs,plugin-eval/eval-handoff.test.mjs, and the run-claude-cli and report-ci-status pin checks inresolve-config/callers.test.mjs. The "every action is pinned to a full commit" tests inmaintenance-monitor-signals,post-merge-demotion-alert,security-outside-actorandpr-review-mainnow check the new rule: first-party at@main, vendors by tag, everything else by full commit. Reason: owner decision: first-party and vendor refs run unpinned (architecture owner-decisions L351, spec Reference first-party actions at main and official vendor actions by major tag #18556).ci-workflows-commitsgrant in.github/actions/resolve-config/lane-grants.json(ADR 0085's release-SHA allow-list, empty in every row) is removed, along with its test. No reader exists: the azure-iac lanes token broker onorigin/HEADreads nolane-grants.jsonand requiresjob_workflow_refto be the caller repository's own workflow (src/lanes-token-broker/src/claims.mjs). Reason: owner decision: first-party and vendor refs run unpinned (architecture owner-decisions L351, spec Reference first-party actions at main and official vendor actions by major tag #18556).ignoreformelodic-software/ci-workflows/*in.github/dependabot.ymlis removed. It existed only to keep those pins on the repin. Reason: owner decision: first-party and vendor refs run unpinned (architecture owner-decisions L351, spec Reference first-party actions at main and official vendor actions by major tag #18556).Verification
actionlintover.github/workflows/*.yml: clean.zizmor --offlinewith.github/zizmor.yml: no findings.node scripts/sync-credential-legs.mjs --checkandpython3 -I scripts/sync-hold-floor.py --check: both exit 0.scripts/*.test.shsuites that read workflows pass, except two that need PyYAML, which is not installed here.origin/mainin this environment.Related
python3 scripts/sync-hold-floor.py.Known effects
dependency-classify.mjsauto-merges only a full-SHA pin swap in workflow files. A Dependabot vendor major-tag bump (@v7to@v8) now escalates asdependency-workflow-unpinnedinstead of auto-merging.🤖 Generated with Claude Code