Repository navigation
ci: pin Windows test actions - #246
Conversation
abogartz
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Workflow-only change, verified against the tree and upstream, not the body.
- The two pinned SHAs are byte-identical to the ones already used by the lint/test/smoke jobs and release.yml, and
git ls-remoteconfirms they are exactly what the tags claim:actions/checkoutv4.4.0 =11d5960a326750d5838078e36cf8b85af677262,oven-sh/setup-bunv2.2.0 =0c5077e51419868618aeaa5fe8019c62421857d6. persist-credentials: falsenow matches every other job in both workflows.- The diff touches only the
test-windowsjob's twouses:lines plus thewith:block;bun-version: 1.4.4and the run steps are untouched. Single commit, nothing else in it. - CI at head 7f6c7e2: lint / test / test-windows / smoke all pass, so the pinned actions demonstrably work on the Windows runner.
Note for merge: mergeStateStatus is currently BEHIND (main moved to the 0.15.5 release commit after this branch was cut); gh pr update-branch 246 before merging.
abogartz
left a comment
There was a problem hiding this comment.
Reviewed adversarially at 7f6c7e2. Verdict: APPROVE.
Claims checked against the tree and the upstream repos:
- Both pins are byte-identical to the Linux CI jobs and the release job on main (
actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0,oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0). - The SHAs really resolve to those tags:
git ls-remote https://github.com/actions/checkout refs/tags/v4.4.0→11d5960a…;git ls-remote https://github.com/oven-sh/setup-bun refs/tags/v2.2.0→0c5077e5…. The version comments are accurate, not decorative. persist-credentials: falseis safe here: the Windows job's only post-checkout steps arebun install --frozen-lockfileandbun run test— no git write, nogh, nothing that reads the persisted token.- The diff is confined to the
test-windowsjob; every other parsed setting is unchanged (git diff origin/main...HEADis exactly these 4/2 lines;git diff --checkclean; YAML parses). - CI exercised the change for real: all four legs green at this head, including
test-windowsitself running the pinned actions — so the pins are not just syntactically valid, they work on the runner.
Note (not a blocker): the branch base is 0.15.3 so the PR reports BEHIND, but it is MERGEABLE and the change is workflow-only; GitHub will merge cleanly whenever you take it.
abogartz
left a comment
There was a problem hiding this comment.
APPROVE
Reviewed adversarially at 7f6c7e2 against base c3dea96. Every body claim re-verified against the tree, not the message:
- Pin identity. The Windows job now uses
actions/checkout@11d5960a326750d5838078e36cf38b85af677262andoven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6— byte-identical to thelint,test, andsmokejobs and torelease.yml(lines 49/58).gh api repos/actions/checkout/git/ref/tags/v4.4.0andgh api repos/oven-sh/setup-bun/git/ref/tags/v2.2.0both resolve to exactly these SHAs, so the version comments are truthful, not decoration. - Credential persistence.
persist-credentials: falsepresent on all four checkout steps inci.yml; the Windows job previously persisted credentials by default. - Nothing else changed.
git difftouches only the twouses:lines plus thewith:block;bun-version: 1.4.4preserved; job-level and workflow-levelpermissions: contents: readuntouched; no other workflow setting differs.git diff --checkclean. - CI. lint / test / test-windows / smoke all green on this head, so the pinned actions actually execute on the Windows runner.
Merge note (not a review blocker): the PR is currently BEHIND main; gh pr update-branch 246 before merging.
abogartz
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Adversarially verified against the tree, not the body:
- Pins match the Linux CI and release jobs byte-for-byte (
11d5960…/0c5077e…), and both SHAs resolve to the real upstream tags via the GitHub API:actions/checkoutv4.4.0→11d5960a326750d5838078e36cf38b85af677262,oven-sh/setup-bunv2.2.0→0c5077e51419868618aeaa5fe8019c62421857d6. Version comments are truthful. persist-credentials: falseis safe here: the Windows job's only steps are checkout → setup-bun →bun install --frozen-lockfile→bun run test; nothing writes to git. It also now matches the four other jobs that already set it.- Diff is exactly the claimed scope: 1 file, 4 insertions, 2 deletions; every other workflow setting unchanged.
- All four CI legs (lint / test / test-windows / smoke) are green at head
7f6c7e2, so the pinned actions have actually executed.
Nothing blocking, no nits.
abogartz
left a comment
There was a problem hiding this comment.
Verdict: APPROVE — reviewed at head 2e04495ab8749fb820217ca980dff12b900d5971 (merge of main 279df73 into the branch). Prior approvals covered head 7f6c7e2; this re-verifies the new head.
Claims verified against the tree, not the commit messages:
- Pin identity.
git grep 'uses:'across both workflows: the Windows job now usesactions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0andoven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0, byte-identical to the lint/test/smoke jobs andrelease.yml. - Pins are real.
git ls-remoteconfirms11d5960…=refs/tags/v4.4.0(actions/checkout) and0c5077e…=refs/tags/v2.2.0(oven-sh/setup-bun). - persist-credentials. Now
falseon all four checkouts inci.yml(lines 20/41/54/74), matchingrelease.yml:52. The Windows job needs no checkout credentials (install + test only). - Nothing else changed.
git diff origin/main...HEAD --numstat: 4 insertions, 2 deletions,.github/workflows/ci.ymlonly.git diff --checkclean. - Red state reproduced at merge-base.
git show 279df73:.github/workflows/ci.ymlshows the Windows job on mutableactions/checkout@v4/oven-sh/setup-bun@v2with nopersist-credentials— exactly issue #237. Fixed side is clean; the differential holds for the stated reason (pin policy atci.yml:10-12).
Commands run (measured):
bun run typecheck— clean, 0 errorsbun run lint— 221 files checked, 498 warnings = base baseline (workflow YAML is not linted)bun run test— 842 pass / 12 skip / 0 fail, 11901 expect() calls, 81 filesbun -e 'yaml.parse(…)'— ci.yml parsesgh pr checks 246— 4/4 pass (lint, test, test-windows, smoke); test-windows itself exercises the new pins on a real Windows runner
Findings: none. Workflow-only change, matches the stated fix direction of #237 exactly.
Note: mergeStateStatus: BLOCKED is branch-protection awaiting a human approve/merge — mergeable itself is clean now that main is merged in.
|
🎉 This PR is included in version 0.15.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #237.
Pin the Windows test job's checkout and setup-bun actions to the same commit SHAs and version comments used by the Linux CI and release jobs. Set checkout's
persist-credentials: falseto match those jobs as well.Validation: parsed the workflow YAML and verified both pins match Linux CI/release, credential persistence is disabled, and every other parsed workflow setting is unchanged.
git diff --checkpasses. This is a workflow-only change; hosted CI will exercise the pinned actions and run the project checks.Please feel free to request changes, defer, or close this if it does not fit your plans. Merge remains your call.