Skip to content

ci(quality): tolerate unavailable npm advisory endpoint - #113

Closed
rubenvdlinde wants to merge 4 commits into
mainfrom
fix/npm-audit-tolerate-endpoint-errors
Closed

ci(quality): tolerate unavailable npm advisory endpoint#113
rubenvdlinde wants to merge 4 commits into
mainfrom
fix/npm-audit-tolerate-endpoint-errors

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

npm is retiring the audits/quick endpoint; it now intermittently 400s (audit endpoint returned an error / Invalid package tree), hard-failing both npm-audit steps on a lockfile byte-identical to one that passed days earlier. Warn-and-continue on endpoint-outage signals while still failing on real advisories (vuln table). Mirrors Codeberg Conduction/.github#73.

rubenvdlinde and others added 4 commits July 25, 2026 12:07
npm is retiring the audits/quick advisory endpoint; it now intermittently
returns 400 ('audit endpoint returned an error' / 'Invalid package tree'),
hard-failing both npm-audit steps even on a lockfile that is byte-identical to
one that passed days earlier. An unreachable advisory endpoint is an infra
outage, not a security finding, so warn-and-continue on those specific endpoint
signals while still failing on real advisories (which print a vuln table).
Same posture as the SBOM step's --ignore-npm-errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant