Skip to content

fix(release): retry transient npm artifact verification #66

Closed

Description

@abruption

Problem

The npm publish step for v0.3.3 succeeded, but the deployment was marked failed when the registry described the new version before its tarball URL became consistently available. Run 44440558568 shows the post-publish download failure. Later download and digest checks succeeded.

Scope

  • Retry transient failures from the public registry during post-publish verification, including tarball 404s after metadata appears.
  • Keep a bounded retry window, provenance and SHA-256 checks, and fail fast for invalid metadata, non-retryable errors, or a digest mismatch.
  • Exercise delayed visibility and hard failures with mocked registry responses. Keep the existing publication command and approval flow.

Acceptance criteria

  • A transient tarball 404 followed by the expected artifact verifies within the retry window.
  • Persistent errors produce a clear post-publish verification failure. The verifier never publishes a package.
  • Tests and GitHub checks pass on a Draft PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions