Repository navigation
fix(release): revalidate npm audit metadata on retries - #783
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
blove
temporarily deployed
to
vercel-preview
September 22, 2026 15:56 — with
GitHub Actions
Inactive
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signature-audit retries can keep reading a cached npm packument that predates the just-published version. A controlled registry test using the release's exact npm 11.17.0 reproduced ETARGET without another network request after the version became available; prefer-online revalidated immediately and found it.
Enable
npm_config_prefer_online=trueonly in the isolated audit environment. Publishing settings, serial order, deadlines, signature/provenance validation and workflows are unchanged. Existing cache data remains available for revalidation.0.10.0 took 1h42m32s merge-to-publication, including 58m53s publishing and 9m17s tag discovery. Three packages each logged 28 ETARGET audit retries spanning about five minutes. Historical cache headers are unavailable: this fixes a reproduced mechanism but does not prove that all those waits were avoidable. The runbook records phase comparisons, exact reproduction and limits. No benchmark release was dispatched.
Validation: regressions failed before the change; 200 audit/publisher tests, 33 integrity tests and 166 workflow-contract tests pass. Scoped Biome, workspace build, docs and whitespace checks pass. Independent spec and code review found no blocking issues. All 3,923 local controller tests pass. Exact-head hosted validate, CopilotKit examples and real Vercel checks pass in run 35750713075. Optional Claude Review preflight failed with verified HTTP 400 insufficient Anthropic credit; independent spec/code reviews approved the change.
Refs #668.