Skip to content

Release lock regeneration races npm registry propagation #402

Open

Description

@miyaontherelay

The coordinated 2.0.10 release published all five npm packages successfully, then failed in Regenerate release lockfiles because the registry returned ETARGET for @relayflows/surface@2.0.10 roughly one second after the final publication completed.

This leaves an externally visible partial release state: packages are immutable and public, while the version/lock commit, Git tag, and GitHub Release have not yet been created. A blind workflow rerun cannot recover because it attempts to publish the same immutable versions again.

The packages became readable from the public registry shortly afterward and the unchanged lock-regeneration block then passed. The release was recovered deliberately from that established public state.

Acceptance:

  • after publishing, poll the public registry for every coordinated version before regenerating locks;
  • require each package/version to resolve with a bounded timeout and clear diagnostics;
  • do not retry publication or treat a successful npm publish response as immediate read-after-write availability;
  • retain the existing registry URL, integrity, and non-link assertions;
  • add a test that simulates delayed registry visibility followed by success, plus timeout/failure behavior;
  • document the recovery path for a failure after one or more immutable packages are published.

Observed workflow: https://github.com/AgentWorkforce/flows/actions/runs/34897325085

No release gate should be weakened; this issue is about waiting for the registry state the next existing gate consumes.

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