Repository navigation
ops(058): npm publication waits up to 25 minutes per package for registry visibility - #567
Conversation
AI review (no-findings)Reviewing the four changed files against each other and the governance context. tagged.rs — main.rs — The import drops tests/tagged.rs — The new test Integer division is exact for both. The ≤ 30 assertion pins the "half of the 60-minute job" invariant the spec claims. spec.md — Normative text added to 3.3.2 matches the code (150 polls, 10 s, 25 min cap). The incident note correctly names the before-state ("shared 60 polls") and the after-state, is internally consistent, and matches the code comment and test name. The spec frontmatter is not touched, so no lifecycle transition is claimed here. No inconsistencies, arithmetic errors, security concerns, or authority/ratification defects found in the supplied evidence. {"head": "e69d8d402c3ba0c11eb681c26285550e3b3c715b", "verdict": "no-findings", "findings": []}Subject: e457670...e69d8d4, diff digest c90f12058103657877434286a5ea2bce81903382754c455dba07b788e8905408, 1 call(s). An AI comment is not an approval. |
Summary
The v0.6.0 release run's
publish-npmfailed twice: npm accepteddarwin-x64(attempt 1) andlinux-x64-musl(attempt 2) but listed neither within the shared bound of 60 polls at 10 seconds (10 minutes), so 058 3.3.1's visibility check failed the job and each rerun had to wait until the package appeared.publish-npmpolls every 10 seconds for up to 25 minutes; crates.io keeps 10 minutes. Past the bound the job fails and is rerun only once the package is listed, because a rerun publishes any package it still finds absent.tools/rustev-release/src/tagged.rssplitsPOLLSintoCRATE_POLLS(60) andNPM_POLLS(150) atWAIT_SECONDS(10);main.rspublishpicks the bound by kind.publish-npm's 60-minutetimeout-minutes, so no.github/workflows/edit and no review exception.tests/tagged.rsregistry_wait_bounds_follow_3_3pins both bounds and the half-job margin. The existingpublish_itemstests already cover the poll loop with an injected bound.First pull request of the 0.7.0 cycle (independent of the version bump).
Verification
make gatepasses.cargo test -p rustev-release --locked, clippy and fmt: see the follow-up comment or CI.