Skip to content

Add portable Linux arm64 downloads and support linked launchers - #182

Merged
renezander030 merged 3 commits into
masterfrom
feat/portable-linux-arm64
Nov 22, 2026
Merged

renezander030 merged 3 commits into
masterfrom
feat/portable-linux-arm64

Conversation

@renezander030

Copy link
Copy Markdown
Owner

Add self-contained Linux arm64 archives for v0.36.0. Native release jobs build and test the new archive before publication. Existing Linux x64, macOS and npm installation remain supported.

Portable launchers now follow absolute and relative symbolic link chains, so commands linked into PATH find the bundled Node runtime. Relative input and output paths retain the caller's working directory. Direct invocation with an empty PATH continues to work.

Evidence

  • Full Linux Node22 suite: 1,485 passed, two existing optional skips, zero failures or cancellations.
  • Linux x64 packaging and package-consumer checks: 14 passed, zero failures or skips. A regression test reproduced the original linked-launcher exit 127 before the fix.
  • Tests cover both CLI names, absolute and relative link chains, paths with spaces, relative draft compilation, relocated archives, license and checksum validation, overwrite refusal and wrong-runtime rejection.
  • Lint and workflow structure checks passed. The existing native arm64 matrix, expected-target checks and publication dependencies are preserved.
  • Two full Node20 attempts encountered subprocess timeouts. All 43 tests in the affected files subsequently passed serially, with unchanged assertions and timeouts.
  • Native Linux arm64, macOS and Windows execution, Node18, Python3.9/3.14 and native Wasm compilation were not run for this source. A successful complete Node20 run remains unavailable. These proof limits remain explicit.

Door

Two-way change. Reverting the distribution changes removes the new archive and link handling without changing draft data, editing commands or npm installation.

Blast radius

Nine files covering portable archive construction, its tests, CI/release jobs, installation documentation, changelog and release metadata. Symbolic link resolution uses system /usr/bin/readlink on supported Unix platforms. The existing Linux arm64 change remains first; the launcher correction is a separate second commit. Publication remains a maintainer action.

renezander030 and others added 3 commits November 21, 2026 21:44
- Pin upload-artifact and download-artifact by commit in the release
  workflow, like its other actions (same commits v7 resolves to today).
- The package smoke also runs the installed capcut and capcut-cli bin
  entries, not only dist/index.js.
- One renderer for the generated command references, and a test that the
  committed docs/command-reference.json and .md equal describe's output.
- Write the import-timeline track key separator as \u0000 instead of raw
  NUL bytes, so line tools no longer treat src/index.ts as binary.
- One atomic replace for single-file saves: a failed final rename removes
  its temporary file and rethrows.
- A test that README's portable download commands name the package version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@renezander030
renezander030 merged commit 332dd87 into master Nov 22, 2026
16 of 17 checks passed
@renezander030
renezander030 deleted the feat/portable-linux-arm64 branch November 22, 2026 13:30
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