Repository navigation
fix(release-core): sync deps before building the release artifact - #1131
Merged
Merged
Conversation
The finalize job's "Build release artifact" step ran `just bundle` without a preceding `just sync`, so a JS-Action consumer's bundler (ncc, a devDependency) was absent from PATH and the step exited 127 — rolling back the final release. Run `just sync` first, matching every other build job. Refs: #1130
c-vigo
force-pushed
the
bugfix/1130-sync-before-bundle
branch
from
July 15, 2026 15:06
7b70821 to
2d0c9f4
Compare
Contributor
Author
|
Downstream stopgap applying the same fix directly on commit-action's |
c-vigo
added a commit
to vig-os/commit-action
that referenced
this pull request
Jul 15, 2026
## What Add `just sync` before `just bundle` in the `Build release artifact` step of `release-core.yml`, on `release/0.3.0`. ## Why The 0.3.0 release rolled back: `Finalize Release Core → Build release artifact` exited **127** because `just bundle` → `npm run bundle` → `ncc …`, and `ncc` (`@vercel/ncc`) is a devDependency only present after `npm ci`. The devkit toolchain provisions the dev-shell but not `node_modules`, so the bundler was missing from PATH. See RCA in #90 and the failed [run](https://github.com/vig-os/commit-action/actions/runs/29423806600). `just sync` (language-neutral: `npm ci` here) installs the deps first, matching every other build job. ## Note — stopgap `release-core.yml` is devkit-scaffolded. This is a local stopgap so 0.3.0 can be re-run **without waiting for a re-scaffold**. The durable fix is upstream in vig-os/devkit#1131 (CI green, merging into devkit `dev`); a future `DEVKIT_VERSION` bump will supersede this diff. Refs: #90
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add
just syncbeforejust bundlein theBuild release artifactstep of the scaffoldedrelease-core.yml.Why
For a JS-Action consumer,
just bundle→npm run bundle→ncc …, andncc(@vercel/ncc) is a devDependency present only afternpm ci. The devkit toolchain preamble provisions the dev-shell but not the repo'snode_modules, so the step exited 127 (ncc: command not found) and rolled back thefinalrelease. It only surfaces on a realfinalrelease (gated onrelease_kind == 'final'and a detectedbundlerecipe), so it slipped past normal CI.This restores parity with the sync-then-build pattern every other build job already follows (
just syncis language-neutral:npm cifor Node,uv syncfor Python). No-op for consumers without a bundle recipe.Observed downstream: vig-os/commit-action release 0.3.0 — failed run.
Changes
assets/workspace/.github/workflows/release-core.yml—just syncbeforejust bundle.CHANGELOG.md(+ synced.devcontainer/mirror) — Fixed entry.Refs: #1130