Skip to content

Wait up to 10 minutes for npm to expose a published release - #32

Merged
janicduplessis merged 1 commit into
mainfrom
@janic/release-registry-wait
Sep 23, 2026
Merged

janicduplessis merged 1 commit into
mainfrom
@janic/release-registry-wait

Conversation

@janicduplessis

@janicduplessis janicduplessis commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

The Release workflow's registry check after npm publish gave up after 12 × 10 s (about 2 minutes). For v0.2.0 that was too short: npm accepted the publish at 19:11:21 UTC but only exposed the version a few minutes later, so the run failed although the publish had succeeded (run):

19:11:21 npm notice Your package is being processed and may take a few minutes to become available.
19:11:21 + react-native-reserved-regions@0.2.0
19:13:25 Registry verification failed.

The registry records the 0.2.0 publish time as 19:14:29 UTC (npm view react-native-reserved-regions time), about 3 minutes after npm accepted it.

This raises the loop to 60 × 10 s (about 10 minutes). The check itself is unchanged. RELEASE.md's Recovery section gets one entry for this case: query the registry first. Once the version is visible, rerunning the workflow only re-verifies it, because it skips an existing version.

Test plan

  • No release was run. The only change is the loop bound. The failure it addresses is the run linked above.

@janicduplessis
janicduplessis force-pushed the @janic/release-registry-wait branch from 7f47bbd to 2e30495 Compare September 23, 2026 20:39
@janicduplessis
janicduplessis marked this pull request as ready for review September 23, 2026 22:03
@janicduplessis
janicduplessis merged commit a83831c into main Sep 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant