Skip to content

fix(ci): retry alpha dist-tag verification on registry propagation delay - #83

Merged
mahyarmlk merged 1 commit into
mainfrom
fix/retry-alpha-verify
Jun 26, 2026
Merged

fix(ci): retry alpha dist-tag verification on registry propagation delay#83
mahyarmlk merged 1 commit into
mainfrom
fix/retry-alpha-verify

Conversation

@mahyarmlk

Copy link
Copy Markdown
Collaborator

The repair workflow successfully set alpha dist-tags and pushed git tags, but failed because npm view immediately read stale dist-tag data. This patch adds retry polling to both alpha dist-tag verification steps so they wait for registry propagation before failing.

Changes:

  • Both publish-alpha.yml and repair-alpha-metadata.yml now retry up to 25 times (~5 min at 10-15s sleep intervals)
  • Uses --prefer-online flag with a fallback to plain npm view
  • Prints package name, expected version, actual version, and attempt number
  • Only fails after all retries are exhausted

Resolves the race where npm's CDN hasn't propagated the newly-set dist-tag.

@mahyarmlk
mahyarmlk merged commit de3c314 into main Jun 26, 2026
1 check 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