Skip to content

fix(release): report npm publication separately from registry verification #74

Closed

Description

@abruption

Problem

In run 44659713821 the npm OIDC publication of 0.4.0 succeeded. The registry tarball still returned HTTP 404 after 25 attempts, so the successful publication was recorded as a failed npm environment deployment. The public tarball later matched the approved archive.

Scope

  • End the protected npm environment job once the approved archive is published.
  • Keep automated public artifact and provenance verification in a separate, unprivileged downstream job with the same expected version, digest, and retry policy.
  • Document how to distinguish publication from verification, and how to rerun the verification job without publishing again.

Acceptance criteria

  • The protected job, approval gate, and npm OIDC permissions continue to apply to publication.
  • Verification runs only after a successful publish and has no deployment environment or OIDC access. A failure remains visible as a failed verification job.
  • Workflow and mocked registry tests pass. Open a Draft PR after independent review.

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