Skip to content

fix: Retry published CLI registry lookup - #6013

Draft
kof wants to merge 1 commit into
mainfrom
agent/fix-release-docs-promotion-6007
Draft

fix: Retry published CLI registry lookup#6013
kof wants to merge 1 commit into
mainfrom
agent/fix-release-docs-promotion-6007

Conversation

@kof

@kof kof commented Aug 4, 2026

Copy link
Copy Markdown
Member

What changed

  • Retry npm version and integrity resolution inside the CLI registry smoke test.
  • Keep retry timing injectable so the propagation race is covered by a fast unit test.
  • Preserve the final npm error when all registry attempts are exhausted.

Why

CLI 0.286.0 was published successfully, but npm briefly exposed integrity metadata while the exact version lookup still returned 404. The post-publish smoke failed and the dependent docs publication job was skipped.

The 0.286.0 documentation snapshot has been recovered directly on the docs branch.

Ref #6007

Verification

  • Regression test demonstrated failing before the implementation and passing afterward
  • CLI registry/versioning tests: 3 passed
  • CLI typecheck
  • Formatting and diff checks
  • Documentation impact reviewed: no product-doc source change is needed in this PR; the missed 0.286.0 snapshot was published separately to docs

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