Skip to content

Bundle Node 24.22.1 LTS in standalone tarballs and smoke test them - #159

Merged
cultron merged 2 commits into
mainfrom
chore/node-24-lts
Oct 27, 2026
Merged

cultron merged 2 commits into
mainfrom
chore/node-24-lts

Conversation

@cultron

@cultron cultron commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Why

The Homebrew/standalone tarballs bundled Node 18.20.4, which reached end of life in April 2025. Nothing ran the tarball before release, so a broken bundle would only show up for users.

What

  • oclif.update.node.version: 18.20.4 -> 24.22.1 (LTS, supported until April 2028).
  • CI runtimes: unit tests now run on Node 22 and 24; the release build and scaffold smoke run on 24. 22 matches the browser editor: a StackBlitz WebContainer reports node --version = v22.22.3.
  • New scripts/tarball-smoke.sh: unpacks a tarball and checks the bundled Node is the pinned version, --help, schema validate on test/fixtures/inventory-multi-fk.apsorc, and the PGlite migrate sandbox.
  • It runs in the release job before any upload, and in a new tarball-smoke.yml on PRs that change package.json, the lockfile or the script.

engines stays >=18.0.0 for npm installs.

Tested

  • Jest: 390/390 pass on Node 24.
  • scripts/tarball-smoke.sh darwin-arm64 passes locally on the packed tarball (bundled node v24.22.1, 29 statements tested in PGlite, 54 s).
  • Not yet run: darwin-x64 and linux-x64 tarballs (this PR's tarball-smoke job covers linux-x64).

…them

Node 18.20.4 reached end of life in April 2025. The tarballs now bundle
Node 24.22.1 (LTS, supported until April 2028), and CI builds and tests on
24, with unit tests also run on 22.

scripts/tarball-smoke.sh unpacks a tarball and checks the bundled Node
version, --help, schema validate and the PGlite migrate sandbox. It runs on
PRs that change the bundle and in the release job before any upload.
Homebrew 6 ignores untrusted third-party taps. brew install apsoai/tap/apso
trusts just that formula; the short name fails until the user runs
brew trust. Existing installs need brew trust --formula apsoai/tap/apso.
@cultron
cultron merged commit 40b4b33 into main Oct 27, 2026
5 checks passed
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