Files
ruflo/.github/workflows
ruv fb0449f2df ci(stable-npm-release): wait for npm processing before the integrity check
Runs 36345167527 (3.47.0) and 36445956751 (3.47.1) uploaded all three
archives, then failed "does not match the verified archive integrity"
after ~30 s of polling. The registry had not finished processing the
uploads: the packument records 3.47.0 about 5 minutes and 3.47.1 about
14 minutes after `npm publish` returned, and both carry exactly the
verified integrity. Because the step failed, dist-tags were never moved
and the release-3-47-0 / release-3-47-1 candidate tags are still set.

- Read version and integrity straight from registry.npmjs.org with
  Cache-Control: no-cache instead of `npm view`, polling with backoff for
  up to 30 minutes (the 10-minute loop on main is still shorter than the
  14 minutes observed for 3.47.1).
- Keep failing immediately on a readable, different integrity.
- Make reruns safe: the "already published" probe is uncached, and a
  publish refused as previously published falls through to the wait.
- Verify dist-tags from the uncached dist-tags endpoint for up to 5 min.
- Raise the job timeout from 30 to 75 minutes to fit the wait.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-11-06 12:24:58 -05:00
..