Skip to content

Fix Changepacks package-local publish archive paths - #85

Merged
owjs3901 merged 1 commit into
mainfrom
devfive/3099154426bffbeef8b62999b80bb038/fix-changepacks-publish-path
Nov 5, 2026
Merged

owjs3901 merged 1 commit into
mainfrom
devfive/3099154426bffbeef8b62999b80bb038/fix-changepacks-publish-path

Conversation

@devfive-relay-c70423

Copy link
Copy Markdown

The release workflow failed after merging #84 because Changepacks runs each publish command from the package directory. Bun tried to create .changepacks/publish.tgz in a missing package-local directory, while npm was configured to read a different archive at the repository root.

Both publish commands now create and read ./publish.tgz in the same package directory. Each package has its own archive, so parallel package publishing cannot overwrite another package's tarball. Bun packaging continues to resolve workspace dependencies before npm receives the archive.

This PR changes only the publish configuration. A separate workflow enhancement was prepared and validated to execute these exact dry-run commands for every package on PRs. The company GitHub relay rejected the push containing the workflow change, so that enhancement is preserved locally as .cache/publish-workflow-verification.patch and is not included here.

Validation:

  • Reproduced the original ENOENT with Bun 1.4.4 and the previous publish dry-run command.
  • Built all workspace packages with Bun 1.4.4.
  • Executed the proposed workflow shell block locally: all 12 package tarballs and configured npm publish dry-runs passed. The artifact validation used an isolated offline npm cache to avoid rejecting already-published versions; actual release commands retain normal online behavior.
  • bun run lint passed.
  • All 1,184 tests passed with 100% function and line coverage in the commit hook.

Failed release run: https://github.com/dev-five-git/devup-api/actions/runs/41946823398/job/126981156397


Submitted via Devfive hub.
Employee Git identity (self-declared): <>
Device: 3099154426bffbeef8b62999b80bb038

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

Changepacks

@owjs3901
owjs3901 marked this pull request as ready for review November 5, 2026 01:51
@owjs3901
owjs3901 merged commit 314de83 into main Nov 5, 2026
2 checks passed
@owjs3901
owjs3901 deleted the devfive/3099154426bffbeef8b62999b80bb038/fix-changepacks-publish-path branch November 5, 2026 01:51
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