fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable#152
Conversation
|
Warning Review limit reached
More reviews will be available in 41 minutes and 50 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughUpdated the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR fixes a breaking CI regression in the org’s reusable dependency-audit workflow by pinning pnpm/action-setup to a compatible major version, avoiding pnpm v11-rc bootstrapping that fails on pnpm v9 lockfiles.
Changes:
- Downgrade
pnpm/action-setuppin in the pnpm audit job from the (mis-labeled) v6 SHA to a v5.0.0 SHA.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Outdated review (superseded by re-review at
|
Outdated review (superseded by re-review at
|
Outdated review (superseded by re-review at
|
donpetry-bot
left a comment
There was a problem hiding this comment.
Reviewed by the don-petry PR-review cascade (triage: haiku 4.5 → deep: sonnet 4.6 + duck: gpt-5.4 → audit: opus 4.6). Reply with @don-petry if you need a human.
|
Auto-rebase failed — merge conflict — this branch has conflicts with Please resolve the conflicts and push: |
Automated review — human attention neededThis PR has been through 3 automated review cycles (cap: 3) without converging on an approval-and-merge state. Further automated review has been paused to avoid infinite loops. Please take a look manually, or close this PR if it's no longer needed. Once a human review resolves the situation, remove the Posted by the donpetry-bot PR-review cascade. |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
|
Agentic rebase — conflict analysis complete, manual resolution required I analyzed the merge conflict on this PR but was unable to complete the rebase because Conflict identifiedFile:
Resolution: Per the SHA-pin conflict policy, accept the side with the more recent commit date — main's Manual resolution stepsgit fetch origin
git rebase origin/main
# Conflict in: .github/workflows/dependency-audit-reusable.yml
# Resolution: keep main's version (newer SHA — v4, committed 2026-05-07)
git checkout --ours -- .github/workflows/dependency-audit-reusable.yml
git add .github/workflows/dependency-audit-reusable.yml
git rebase --continue
git push --force-with-lease |
Auto-Rebase — Conflict AnalysisThe auto-rebase workflow detected a conflict and I performed a full analysis. However, the rebase could not be completed automatically due to permission restrictions in this environment. Here is everything needed to complete the resolution manually. Conflict detailsFile:
Resolution: Keep the PR branch version ( Reason: Both sides modified the same Manual resolution stepsgit fetch origin
git checkout fix/dependency-audit-pnpm-action-setup-v5
git rebase origin/mainWhen the conflict appears in # Keep the PR branch's pnpm/action-setup pin (v5.0.0):
git checkout --theirs -- .github/workflows/dependency-audit-reusable.yml
git add .github/workflows/dependency-audit-reusable.yml
git rebase --continueThen push: git push --force-with-leaseThe only conflict is the single |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
Auto-Rebase: Manual Resolution RequiredThe auto-rebase agent analyzed PR #152 but could not complete the rebase automatically — the git write operations ( Conflict AnalysisFile:
Resolution strategy (per SHA-pin rules): The base branch SHA has a newer commit date → prefer
Manual Resolution Stepsgit fetch origin
git checkout fix/dependency-audit-pnpm-action-setup-v5
git rebase origin/main
# Git will stop with a conflict in:
# .github/workflows/dependency-audit-reusable.yml
# Option A — accept main's newer SHA (mechanical rule):
git checkout --ours -- .github/workflows/dependency-audit-reusable.yml
# Option B — keep PR's v5.0.0 pin (if pnpm v9 compatibility still matters):
git checkout --theirs -- .github/workflows/dependency-audit-reusable.yml
git add .github/workflows/dependency-audit-reusable.yml
git rebase --continue
git push --force-with-lease |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
99b833b
588b01d to
99b833b
Compare
|
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
|
Auto-rebase failed — merge conflict — this branch has conflicts with Claude will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
|
Auto-rebase failed — merge conflict — this branch has conflicts with dev-lead will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
|
Auto-rebase failed — merge conflict — this branch has conflicts with dev-lead will attempt to resolve this automatically. If it cannot, a follow-up comment will explain what needs manual attention. To resolve manually instead: |
The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9.
db67e4a to
0e1df43
Compare
Dev-Lead — rebase (no-changes)Agent reasoning |
Dev-Lead — fix-bot-comment (applied)Changes committed and pushed. |
|
Dev-Lead — review-changes (no-changes)No changes were needed for this PR. |
donpetry-bot
left a comment
There was a problem hiding this comment.
Automated review — APPROVED ✓
Risk: LOW
Reviewed commit: b98a4b6283ad1c5d2f2fd8d0a1ab4d9f474d6443
Review mode: triage-approved (single reviewer)
Summary
Two-file CI fix in reusable workflows. The substantive change re-pins pnpm/action-setup in dependency-audit-reusable.yml from SHA 0e279bb9 (labeled # v4 but actually pointing to the sliding v6 tag — a v6 release that bootstraps pnpm v11 and breaks lockfileVersion: '9.0' lockfiles) to SHA fc06bc12 (v5.0.0), restoring compatibility with consumer repos still on pnpm v9. Second change is a trailing-blank-line removal in dependabot-rebase-reusable.yml — cosmetic. Verified the new SHA against the GitHub API: it matches the v5.0.0 annotated tag's commit object exactly, satisfying the repo's "SHAs must be looked up via the GitHub API — never guessed" rule (CLAUDE.md).
Linked issue analysis
No linked issue (closingIssuesReferences is empty). The PR body explains the motivation clearly: the existing pin was mislabeled and is breaking broodly main due to a pnpm v11 / lockfileVersion 9 incompatibility. Minor inaccuracy in the PR body — it cites the old SHA as 08c4be7e (which is v6.0.0), while the diff actually replaces 0e279bb9 (the sliding v6 tag, currently pointing at pnpm-v11.1.1 commit). The diagnosis (mispinned to v6 line) is unchanged and correct either way; not blocking.
Findings
No issues found.
- ✅ The new SHA
fc06bc1257f339d1d5d8b3a19a8cae5388b55320is verified viagh api repos/pnpm/action-setup/git/tagsto be the commit object of the annotated tagv5.0.0. Comment# v5.0.0is accurate. - ✅ Downgrade is intentional and justified (pnpm v11 incompatibility with lockfileVersion 9); PR body notes v6 can be revisited once consumer repos migrate.
- ✅ No secrets, auth, crypto, migrations, or other HIGH-risk surfaces touched.
- ✅ AGENTS.md / CLAUDE.md SHA-pinning rule respected.
- ✅ Trailing-blank-line removal in
dependabot-rebase-reusable.ymlis a harmless cleanup.
CI status
All checks passed or appropriately skipped: ShellCheck, Lint, CodeQL, SonarCloud, Agent Security Scan, Secret scan (gitleaks), agent-shield/AgentShield, dev-lead/dispatch, pr-auto-review, Analyze (actions), Detect ecosystems, Quality Gate. Ecosystem audits not exercised by this PR were correctly skipped (npm/pnpm audit, govulncheck, cargo audit, pip-audit). mergeStateStatus is BLOCKED only because review is required.
Reviewed automatically by the PR-review agent (single-reviewer mode: opus 4.7). Reply if you need a human review.
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>
…le (#152) * fix(ci): downgrade pnpm/action-setup to v5 in dependency-audit reusable The SHA 08c4be7e (mislabeled # v4) is actually pnpm/action-setup@v6.0.0, which bootstraps with pnpm v11.0.0-rc.0. pnpm v11-rc cannot parse lockfiles generated by pnpm v9 (lockfileVersion '9.0'), causing ERR_PNPM_BROKEN_LOCKFILE in all repos still on pnpm v9. Pinning to action-setup@v5.0.0 (fc06bc1), which installs pnpm via npm directly with no v11 bootstrap, restoring compatibility with pnpm v9. * fix(bot): address bot feedback [skip ci-relay] --------- Co-authored-by: DJ <dj@Rachels-Air.localdomain> Co-authored-by: donpetry-bot <281750570+donpetry-bot@users.noreply.github.com>



Problem
The SHA `08c4be7e` pinned in `dependency-audit-reusable.yml` is labeled `# v4` but is actually pnpm/action-setup@v6.0.0. v6 bootstraps with pnpm v11.0.0-rc.0, which cannot parse `lockfileVersion: '9.0'` lockfiles generated by pnpm v9. This causes `ERR_PNPM_BROKEN_LOCKFILE` in all repos still on pnpm v9 — confirmed breaking `broodly` main.
Fix
Pin to `pnpm/action-setup@v5.0.0` (`fc06bc1`), which installs pnpm directly via npm with no v11-rc bootstrap, restoring compatibility with pnpm v9.
Note
Upgrade to action-setup@v6 can be revisited org-wide once repos have migrated to pnpm v11.
Summary by CodeRabbit