Skip to content

Fix trusted-publishing tarball recovery - #5

Merged
orangebtc merged 3 commits into
mainfrom
codex/fix-sdk-trusted-publish
Jul 25, 2026
Merged

Fix trusted-publishing tarball recovery#5
orangebtc merged 3 commits into
mainfrom
codex/fix-sdk-trusted-publish

Conversation

@orangebtc

Copy link
Copy Markdown
Collaborator

What changed

  • publish local candidate tarballs with an explicit ./ path so npm does not parse them as GitHub package specs
  • add a guarded workflow-dispatch recovery path that always checks out and validates the immutable version tag
  • bind the candidate manifest to both the immutable release commit and the workflow commit

Why

The v0.4.0 trusted-publishing run validated and packed successfully, but npm interpreted release-candidate/<file>.tgz as a Git dependency. The version was not published.

Validation

  • git diff --check
  • exact candidate build, tests, package allowlist, and production audit passed in release run 30158750617 before the final command failed
  • recovery remains tag-bound and refuses existing package versions

@orangebtc
orangebtc merged commit 099aa92 into main Jul 25, 2026
3 checks passed
@orangebtc
orangebtc deleted the codex/fix-sdk-trusted-publish branch July 25, 2026 13:08
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