Skip to content

build: add first npm publication workflow - #159

Merged
jefft72 merged 1 commit into
mainfrom
codex/fix-release-readiness
Aug 30, 2026
Merged

jefft72 merged 1 commit into
mainfrom
codex/fix-release-readiness

Conversation

@jefft72

@jefft72 jefft72 commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a safe, resumable first-publication workflow for the currently unregistered Diffex npm packages and clears the stale tests that blocked the official release suite.

Reasoning

npm requires a package to exist before trusted publishing can be configured, while the normal Diffex release correctly refuses unregistered packages.
The bootstrap must avoid claiming CI provenance or assigning the default latest tag, remain safe after partial publication, and preserve the existing normal-release guard.

Changes

  • Adds bootstrap and dry-run commands that validate every archive and publish initial versions under the non-default bootstrap tag
  • Rejects bootstrap use for established packages while allowing exact-version resumes after partial publication
  • Emits the trusted-publisher commands for the existing GitHub workflow and documents the complete first-release process
  • Adds repository metadata required for trusted publishing to the coding-agent server package
  • Removes a stale Fireworks router assertion and aligns compaction tests with the current call contract
  • Adds unit coverage for bootstrap argument parsing, package-state safety, publish command construction, and trust setup

Testing

  • npm run release:bootstrap-npm:dry
  • npm run build:offline
  • HOME=/private/tmp/diffex-release-readiness-home ./test.sh

Add a resumable first-publication path that keeps initial packages off the latest tag, preserves the normal registration gate, and documents trusted publisher setup. Refresh stale release-test expectations and complete package repository metadata so the full release suite passes.
@jefft72 jefft72 added enhancement New feature or request coding-agent labels Aug 30, 2026
@jefft72
jefft72 merged commit 8ee9a19 into main Aug 30, 2026
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coding-agent enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant