Repository navigation
ci(pr-pipeline): let the trust-gate hold pass vendor tag-to-tag bumps - #18643
Conversation
CI Status's trust-gate ref_swap jq accepted only 40-hex ref swaps, so a Dependabot bump such as actions/checkout@v6 to @v7 in a lane workflow waited for a person even after #18605 taught the verdict job to treat it as a pin swap. It now also accepts an official vendor action (actions, github, dependabot, microsoft, azure, anthropics, openai, any case) moving between version tags (vN, vN.N, vN.N.N) with the same action path, once the new tag exists in the action's repository. A SHA never pairs with a tag; first-party and third-party tag swaps keep the hold. Owner decision D3, architecture docs/owner-decisions.md L351. Closes #18604 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 34fd6fba9a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
claude-security-review reviewed Security review: PR #18643 at
|
|
claude-review reviewed Code review (blocking only): no findingsThis lane already reviewed an earlier head ( What I checked by reading (I ran nothing):
Closing issue #18604: the trust-gate criteria were met at the earlier reviews. The Loosened checks: this push changes only how the test fixture is built and loosens nothing. The PR's one loosening is the trust-gate Loosened checks would be marked: fail (default; no wrapper setting); patterns: 0 Verifier dropped 0 of 0 candidates. |
|
PR body contract — issue linkage This PR body conforms to the issue-linkage contract. Nothing to do. |
|
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=18643 -f activity=address-feedback |
The vendor tag-swap cases read a hand-built `refs/tags/v2` row. The test now builds a throwaway repository with lightweight and annotated version tags and appends its real `git ls-remote --tags` output to the stub's tag list, so the rows have the producer's shape (docs/review/tests.md). Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Owner: active, left: fix the fixture-git-isolation Lint Shell failure in scripts/ci-review-lanes.test.sh, then re-queue. ETA 10:45 PM EST. |
…t helpers The throwaway repository behind the vendor tag rows ran git with the inherited git environment and host config, which fixture-git-isolation fails. The suite now sources scripts/test-git-helpers.sh and builds the repository with git_init_test_repo and git_test_config. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
PR lane (desk): last push 03:00Z, past the 03:45Z ETA above (Lint Shell fixture fix in scripts/ci-review-lanes.test.sh). Still on it? Reply here with a new ETA, or post 'Owner: PR lane may take over' and the desk PR lane finishes it. |
Summary
Follow-up to #18605.
CI Status's trust-gate hold (ref_swapjq in.github/workflows/pr-require-checks.yml) accepted only 40-hex ref swaps, so a Dependabot bump such asactions/checkout@v6to@v7in a lane workflow still waited for a person after the verdict job learned to treat it as a pin swap.Fix
This delivers #18604's trust-gate items (proposed work 2 and 3, and the four open acceptance criteria):
ref_swapnow also captures a version tag (vN,vN.N,vN.N.N, the exact shapeTAGGED_USESindependency-classify.mjsaccepts) for an official vendor owner (actions,github,dependabot,microsoft,azure,anthropics,openai, case-insensitive, the same list asVENDOR_ACTION_OWNERS). Both sides of a pair must be the same kind: a SHA never pairs with a tag. Same action path and indent are still required.refs/tags/<tag>must exist in the action's repository); a SHA ref keeps the tagged-commit check. Themerge.dependabot.trusted-action-ownerscheck and the lanes App verdict path still apply after the shape check, unchanged, as does the hold message textreview-dependency.mjsmatches.scripts/ci-review-lanes.test.sh: new cases for a vendor tag-to-tag bump passing (listed owner, the repository's own owner list, mixed-caseAzure), an unlisted vendor owner waiting for a merge verdict, and holds for a missing tag, first-party tag swap, third-party tag swap, tag to branch, tag to non-version tag, path change, SHA to tag and tag to SHA. The vendor tag rows the git stub returns come from a realgit ls-remote --tagsof a throwaway repository the test builds with lightweight and annotated version tags. Two existing "mixed bump" cases usedactions/checkouttag swaps as their non-passing half; they now use a third-party action so they still test what they name.apply-dependency-verdict.mjsheader comment, inline comment and log line no longer say only "full-SHA pin swap".Basis: tag shape and owner list copied from
.github/scripts/pr-unblock/dependency-classify.mjs:225-228(merged in #18605); owner list from architecturedocs/owner-decisions.mdL351.Loosened checks
CI Statustrust-gate hold,ref_swapin.github/workflows/pr-require-checks.yml: a Dependabot PR whose only workflow change moves an official vendor action from one version tag to another (same action path, new tag present in the repository) now clears the hold the same way a full-SHA swap to a tagged commit does. Reason: owner decision D3, architecturedocs/owner-decisions.mdL351, owner verbatim: "official vendor like Microsoft or Anthropic or OpenAI ... those I don't want pinned". First-party and third-party tag swaps, and every other shape, keep the hold.Verification
bash scripts/ci-review-lanes.test.sh: PASS=339 FAIL=0 at34fd6fba, and again PASS=339 FAIL=0 atfdbf7ea6after the vendor tag rows moved to realgit ls-remote --tagsoutput.node --test --test-concurrency=4onapply-dependency-verdict,clear-escalations,review-dependency,dependency-dispatchanddependency-classifytests: 337 pass, 0 fail.node scripts/sync-credential-legs.mjs --check,python3 scripts/sync-hold-floor.py --check,actionlint .github/workflows/pr-require-checks.yml: all exit 0.Related
pinSwapRefusalhalf of Auto-merge Dependabot bumps of official vendor action tags like full-SHA pin swaps #18604.docs/owner-decisions.mdrow L351.Closes #18604
🤖 Generated with Claude Code