Skip to content

[codex] Harden release publishing retries#82

Merged
jooh merged 2 commits intomainfrom
codex/cd-release-retry-fix
May 7, 2026
Merged

[codex] Harden release publishing retries#82
jooh merged 2 commits intomainfrom
codex/cd-release-retry-fix

Conversation

@jooh
Copy link
Copy Markdown
Owner

@jooh jooh commented May 6, 2026

Summary

  • switch PyPI publishing to PyPA's trusted-publishing action with skip-existing so reruns can recover from partial releases and avoid the uv publish upload path that failed
  • teach the npm publish helper to skip package names not yet registered for trusted publishing and prune unavailable native packages from wrapper optional dependencies for that publish
  • document the registry preconditions and cover the release workflow behavior with tests

Root Cause

The post-merge devcontainer-release run failed after a partial publish: PyPI accepted some 0.0.45 wheels before rejecting the Linux arm64 wheel, and npm trusted publishing could not publish newly introduced Linux arm64 native package names that are not registered/configured on npm yet.

Validation

  • node --test build/test-publish-npm-packages.js
  • node build/check-npm-publish-workflow.js
  • make npm-package-smoke
  • make npm-publish-script-check
  • make npm-publish-workflow-check
  • make tests

@jooh jooh force-pushed the codex/cd-release-retry-fix branch from 073be17 to a285f94 Compare May 6, 2026 06:59
@jooh jooh merged commit 5c6b5e9 into main May 7, 2026
5 checks passed
@jooh jooh deleted the codex/cd-release-retry-fix branch May 7, 2026 05:27
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