CI: retry npm audit when the registry is down, then warn #264

Merged
littlefox merged 1 commit from issue-263-npm-audit into main 2026-10-22 03:34:27 +00:00
Owner

Closes #263

Main run #432 went red on npm audit: registry.npmjs.org's advisory endpoint answered 503 (so did #434, PR #262). tools/npm-audit.sh retries when the endpoint errors (20, 40, 80 s), fails on vulnerabilities as before, and if the endpoint still can't answer, warns and passes.

Verified: run locally while the endpoint was down, it retried as written. This PR's own CI runs the new step.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #263 Main run #432 went red on `npm audit`: registry.npmjs.org's advisory endpoint answered 503 (so did #434, PR #262). `tools/npm-audit.sh` retries when the endpoint errors (20, 40, 80 s), fails on vulnerabilities as before, and if the endpoint still can't answer, warns and passes. Verified: run locally while the endpoint was down, it retried as written. This PR's own CI runs the new step. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
CI: retry npm audit when the registry is down, then warn
All checks were successful
ci / check (push) Successful in 10m53s
ci / e2e (push) Successful in 35m3s
ci / desktop (push) Successful in 16m11s
0a64fd9401
Main went red when registry.npmjs.org's advisory endpoint answered 503.
tools/npm-audit.sh retries (20, 40, 80 s) when the endpoint errors,
fails on vulnerabilities as before, and if the endpoint still can't
answer, warns and passes; the next run audits again.

Closes #263

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-22 14:11:06 +00:00
Sign in to join this conversation.
No description provided.