Skip to content

fix(ci): ignore pnpm audit registry errors while npm retires legacy endpoints#2004

Merged
samuv merged 1 commit intomainfrom
fix-pnpm-audit
Apr 15, 2026
Merged

fix(ci): ignore pnpm audit registry errors while npm retires legacy endpoints#2004
samuv merged 1 commit intomainfrom
fix-pnpm-audit

Conversation

@samuv
Copy link
Copy Markdown
Collaborator

@samuv samuv commented Apr 15, 2026

The npm registry has retired both legacy audit endpoints (/-/npm/v1/security/audits/quick and /-/npm/v1/security/audits), returning HTTP 410. This breaks pnpm audit on all 10.x versions (tracked in pnpm/pnpm#11265). There is no released pnpm version yet that supports the replacement bulk advisory endpoint.

Add --ignore-registry-errors to the CI audit step so pipelines are not blocked while a proper fix lands in pnpm. Grype still provides vulnerability scanning coverage in the same workflow.

@samuv samuv self-assigned this Apr 15, 2026
Copilot AI review requested due to automatic review settings April 15, 2026 13:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the reusable Security Checks workflow to keep CI pipelines unblocked while pnpm audit is failing due to npm retiring legacy audit endpoints, relying on the existing Grype scan for vulnerability coverage in the interim.

Changes:

  • Add --ignore-registry-errors to the pnpm audit CI step to tolerate registry-side audit endpoint failures.

@samuv samuv enabled auto-merge (squash) April 15, 2026 14:00
@samuv samuv merged commit 5173504 into main Apr 15, 2026
20 checks passed
@samuv samuv deleted the fix-pnpm-audit branch April 15, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants