CI: npm audit fails main when the npm registry is down #263
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#263
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Main run #432 (the merge of #261) went red in the e2e job's
npm audit --audit-level=highstep:503 Service Unavailablefrom registry.npmjs.org's advisory endpoint ("audit endpoint returned an error"). The code and the other jobs were fine.Fix, as for cargo-deny's advisory fetch (#143): a script that retries when the endpoint errors, fails on vulnerabilities as now, and after a few failed tries of the endpoint itself warns and passes (the next run audits again).
Merged in #264; main run #437 green. Its CI ran the new step while the endpoint answered again.