GeezerVison is showing github.com — ci(pm-stack): pm-aggregator-tests.yml is the pinning outlier — checkout@v4 and floating setup-bun@v2 vs repo-wide v7 / SHA pins · Issue #5919 · developing-today/code
ci(pm-stack): pm-aggregator-tests.yml is the pinning outlier — checkout@v4 and floating setup-bun@v2 vs repo-wide v7 / SHA pins #5919DescriptionFinding
.github/workflows/pm-aggregator-tests.yml pins its actions inconsistently with the rest of the repo's workflows:
- Lines 42, 59, 76:
actions/checkout@v4 — every other workflow in .github/workflows/ uses actions/checkout@v7 (62 uses counted 2026-11-05).
- Lines 43, 60, 77:
oven-sh/setup-bun@v2 — a floating major tag. The sibling workflow .github/workflows/pm-stack-tests.yml (line ~16) and 7 other call sites pin the same action by SHA: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0. Third-party actions elsewhere (DeterminateSystems nix-installer / magic-nix-cache, denoland/setup-deno, oven-sh/setup-bun) are likewise SHA-pinned with a version comment.
Why it matters
A floating @v2 tag on a third-party action is a supply-chain surface the rest of the repo has deliberately closed by SHA-pinning, and checkout@v4 is three majors behind the version the repo standardized on — the pm-stack aggregator workflow is the only outlier on both, so a repo-wide pin audit or bump silently misses it.
Suggested fix shape
Align the three jobs in pm-aggregator-tests.yml with the repo norm: actions/checkout@v7 and the SHA-pinned oven-sh/setup-bun reference used by pm-stack-tests.yml. No trigger or job changes.
Evidence
Verified by direct reads on main 83f78ed (2026-11-05): grep -rn "uses:" .github/workflows/ tallies and line reads of pm-aggregator-tests.yml and pm-stack-tests.yml.
Filed by the Scheduled Suggestions pass, tracking issue #5648 (task 9736).
Acceptance criteria
-
.github/workflows/pm-aggregator-tests.yml uses actions/checkout@v7 at all three sites, matching the repo-wide convention.
-
oven-sh/setup-bun is pinned by SHA with a version comment (as in pm-stack-tests.yml: 0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0) at all three sites.
- The workflow still passes on a run after the change; no other workflow behaviour changes.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 Intake review
Related: Sibling convention source: .github/workflows/pm-stack-tests.yml and 7 other SHA-pinned setup-bun call sites (counted in the issue).
Still-live check: searched merged PRs referencing this issue at 2026-11-05T04:31:57Z — none found; the issue stands as filed.
Notes / risks: Minimal: pin changes only. Confirm the pinned SHA's version (v2.2.0) supports everything the workflow uses before swapping all three sites.
Suggested approach: Copy the exact pin lines from pm-stack-tests.yml, bump checkout v4→v7, and let CI verify.
Acceptance criteria were appended to the issue body and labels normalised by the fleet monitor's intake pass.
dezren39 commented on Nov 5, 2026 🤖 Agent note · triaged — task 10316 (queue repo-health-code-pilot, lane code-f)
- Verdict: CONFIRMED at current main. Fresh read at main
04f78696abfbdf6567f58e623d80520436f002fa (2026-11-05, this triage): .github/workflows/pm-aggregator-tests.yml still uses actions/checkout@v4 at lines 42, 59, 76 and floating oven-sh/setup-bun@v2 at lines 43, 60, 77 — exactly as filed (verified earlier at main 83f78ed).
- Convention source verified fresh: sibling
.github/workflows/pm-stack-tests.yml uses actions/checkout@v7 (line 15) and oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 (line 21) — the exact pin lines to copy.
- No competing work: fresh PR search for ci(pm-stack): pm-aggregator-tests.yml is the pinning outlier — checkout@v4 and floating setup-bun@v2 vs repo-wide v7 / SHA pins #5919 / pm-aggregator-tests pin changes found no PR fixing these pins; no held / user/owned / do-not-merge / do-not-auto-edit labels on ci(pm-stack): pm-aggregator-tests.yml is the pinning outlier — checkout@v4 and floating setup-bun@v2 vs repo-wide v7 / SHA pins #5919.
- Routing: follow-up small_fix task enqueued to repo-health-code-pilot (see the queue task created from this triage; dedupe key
repo-health:v1:fix:developing-today/code:issue:5919): swap the three checkout sites to @v7 and the three setup-bun sites to the SHA pin above, no trigger/job changes, and confirm the workflow passes on a run after the change (issue acceptance criteria).
- Risk: low — pin-only change; the pinned setup-bun SHA is v2.2.0, the same major line the floating
@v2 tag currently resolves to.
dezren39 commented on Nov 5, 2026 🤖 Agent note · done — task 10529 (queue repo-health-code-pilot, lane code-v)
- Verdict: already fixed on main — closing with evidence. Commit
2801e36ed586557d29b31e5c086309118adb6857 ("fix(workflow): update actions/checkout to v7 and pin oven-sh/setup-bun", 2026-11-05, generated by an OpenChamber scheduled lane) is an ancestor of current origin/main (08c51c6942, verified fresh on the laptop primary clone) and its diff is exactly this issue's fix: all three sites in .github/workflows/pm-aggregator-tests.yml (lines 42/59/76) now use actions/checkout@v7, and all three oven-sh/setup-bun uses (lines 43/60/77) are SHA-pinned as oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0, matching pm-stack-tests.yml. No other workflow behaviour changed (6 insertions / 6 deletions, one file).
- Run criterion, honestly scoped: no dispatch/schedule run of
pm-aggregator-tests.yml has occurred since that commit landed, so a post-change green run cannot be cited. The most recent runs (e.g. 2026-11-05T06:17Z, before the commit) concluded failure on the old pins too — that failure is pre-existing, unrelated to the pin alignment, and not something this pinning issue can block on. If the workflow's test health needs its own fix, it deserves its own issue.
- No held / user/owned / do-not-merge / do-not-auto-edit labels were present. Queue task 10529 completes as
already_done.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|