Skip to content

ops(release): bootstrap @the-open-engine/zeroshot-rust on npm #913

Description

@tomdps

Failure

The exact-main release for fbb4cb292f39692662dd0acf0e4737fab87d7880 partially published v6.25.1, then failed in the rust-publish job:

The publish step ran from the configured release.yml / release OIDC context and failed with E404 on the first PUT.

Root cause

npm trusted-publisher exchange is package-specific. @the-open-engine/zeroshot already has a trusted publisher, but the new @the-open-engine/zeroshot-rust package does not exist yet and therefore has no package settings in which to configure one. npm currently cannot bootstrap a first package publish through OIDC; npm/documentation#1926 records the same limitation and required manual first publish. The repository and release environment expose no Actions secret that can perform the bootstrap.

Required one-time operator action

  1. From immutable tag v6.25.1, stage npm/zeroshot-rust/package.json to version 6.25.1 (npm version 6.25.1 --no-git-tag-version) and publish that exact public package as an npm maintainer.
  2. Configure its npm trusted publisher for organization the-open-engine, repository zeroshot, workflow release.yml, environment release, with npm publish allowed.
  3. Re-run failed jobs in run 30779104875. The idempotent job will verify the now-existing 6.25.1 package and turn the exact-main release green.

Do not delete/recreate the tag, overwrite the GitHub Release, or publish a different shim version; repository recovery is intentionally immutable and idempotent.

Activity

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

Metadata

Metadata

Assignees

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