You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(packaging): ship the nutflix.2 AppImage runtime - #34
Built by appimage-runtime on main at a98d5e4 by workflow_dispatch (run 45865015946). test.sh passed on both architectures, the new argument-count cases included.
Build provenance recorded for both binaries. gh attestation verify passes for each with --signer-workflow …/appimage-runtime.yml --source-ref refs/heads/main --source-digest a98d5e4….
maker-appimage.ts: the release URLs and both sha256 pins. A file that does not match still fails the build.
ci.yml: the three downloads (shell, install, release proof).
packaging.test.ts and the runtime README: the release name.
Root engines: Node 22.18 or later (package.json and the lockfile's root entry). The release runbook needs it (type stripping on by default), and with engine-strict npm refuses an older Node. CI's setup-node takes the newest 22.x.
Both READMEs say that the pinned runtime is nutflix.2 and what it changes.
smoke.ts no-fuse: after the two starts it already made, it starts the real AppImage a third time with no FUSE and one argument, and that start must reach its ready line. This is the start that failed with Failed to run (null): Bad address under nutflix.1.
Proof
The shell job packages with the new pins on every target. On Linux x64 and arm64 it launches the AppImage with FUSE, without FUSE (now also with an argument), and on the stock kernel. install and release proof use the same runtime.
Summary by CodeRabbit
Bug Fixes
Linux AppImage launches now correctly forward startup arguments to the app.
Tests
Expanded AppImage launch checks to cover startup with an argument.
Documentation
Updated Linux AppImage launch notes to reflect argument handling and the current runtime.
Chores
Updated the minimum required Node.js version to 22.18.0.
The AppImage now carries `appimage-runtime-20251108-nutflix.2`, built by the
appimage-runtime workflow on main at a98d5e4 (run 45865015946) with build
provenance, and published as a prerelease. It hands AppRun every argument
when there is no usable FUSE (#32). With nutflix.1, `Nutflix.AppImage
<argument>` exited 127 before the app ran.
Every pin moves: the maker's two sha256 and its release URLs, the three
downloads in CI, and the README. CI's no-FUSE launch now starts the real
AppImage a third time, with an argument, and it must reach its ready line.
No actionable comments were generated in the recent review.
Walkthrough
The AppImage runtime pin changes to nutflix.2, and the smoke test adds a no-FUSE launch with an argument. The package’s minimum Node.js version also increases to 22.18.0.
Changes: AppImage runtime update
Layer / File(s)
Summary
Pin the updated runtime shells/pear-v3/packaging/maker-appimage.ts, .github/workflows/ci.yml, shells/pear-v3/packaging/__tests__/packaging.test.ts, shells/pear-v3/packaging/appimage-runtime/README.md
Packaging and CI use the nutflix.2 runtime release. The x64 and arm64 SHA-256 pins and packaging test expectation are updated. The runtime README identifies the new pin.
The smoke script adds a no-FUSE AppImage launch with a plain argument and fails if the launch is not ready. The README documents the additional launch check and runtime argument behavior.
Node.js requirement
Layer / File(s)
Summary
Raise the Node.js minimum package.json
The minimum Node.js version changes from >=22.12.0 to >=22.18.0.
Merge Risk: Minimal · up to 4532d · assessed changes only
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: the packaging update that ships the appimage-runtime nutflix.2 build. The raw summary shows the maker's release URLs and SHA-256 pins, CI downloads, the packaging test…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: the packaging update that ships the appimage-runtime nutflix.2 build. The raw summary shows the maker's release URLs and SHA-256 pins, CI downloads, the packaging test, and READMEs all move to nutflix.2. The title does not mention the Node.js minimum bump to 22.18 or the new no-FUSE smoke test, but the task does not require full coverage.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
The release runbook needs Node 22.18 (type stripping on by default), so the
root `engines` says so; with `engine-strict`, npm refuses an older Node. CI's
setup-node takes the newest 22.x, which meets it.
The shell README and the runtime README now say that the pinned runtime is
nutflix.2, the first build that hands the app every argument, and that CI
starts the AppImage a third time with no FUSE, with an argument.
Pins the rebuilt type-2 runtime (appimage-runtime-20251108-nutflix.2,
attested build of a98d5e4): the first one that hands AppRun its arguments
with no FUSE. maker-appimage.ts, ci.yml, the packaging test and the README
move from nutflix.1; the no-FUSE smoke now also starts the AppImage with an
argument. Root engines: Node >= 22.18.0, which the release runbook needs.
Squash-merged locally as a88ea45 (CI 29/29 on 4532d46, CodeRabbit approved; pins checked against the release SHA256SUMS and both attestations verified).
…pe b)
Review fixes (PR #30, CodeRabbit on 28c4020):
- common.ts: the tunnel's close destroys its open connections; a REQ
whose filters are of the wrong shape gets CLOSED and is not stored;
a Pear command past its deadline is killed (SIGTERM, then SIGKILL)
and the wait ends either way; --wait-min must be a number of minutes.
- play-side.ts: a response cut off mid-body resolves null; the run
exits non-zero unless every test it ran played.
- seed-side.ts: the reverse fetch takes the newest app beacon that
parses, names this clip and creator and binds a hyperdht endpoint
to its seeder; only those checked fields are printed; the run exits
non-zero unless every test it ran passed on this side.
- guest.sh: logs in a per-run mktemp directory; check exits non-zero
on a formatting, lint or test failure; the dry run keeps both exit
statuses; the play side works in a fresh directory.
Test 1: bugs 2, 3 and 4 are fixed on main (#32, #33, #34), so the
installed AppImage is started as installed, through smoke.ts's launch,
with no extraction of our own. Where the sandbox cannot start it must
reach the sandbox warning by itself, then, with "Run anyway" stored,
play with --no-sandbox and a ready line that says the sandbox is off
(rendererSandbox absent, no exception any more); the command the
warning names (--forget-sandbox-choice) must forget the choice. The
AppImage runtime is the one maker-appimage.ts pins.
Test 3: an explicit verdict (PASS only when a fresh fetcher took every
file from the app's own endpoint, sha256-checked, remote not this
machine, and X's closed seeders served nothing).
Test 4: shells/pear-v2/proof/realhost.ts. On X, Pear v2.6.5 fetched as
a client, copied to a throwaway line served on the public DHT (and on
loopback for X's own install), the app staged for it and seeded on a
throwaway link; after test 3, a new honest and lying seeder pair. On
Y, the platform installed from that line, the versioned link run with
pear run, the clip played over the worker's HyperDHT and measured over
the debugger port. The proof's own tools stay loopback-only.
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
size/SLines changed by this pull request: S (sovtechpro[bot])
1 participant
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.
The follow-up to #32: the app now ships the fixed runtime.
The release
appimage-runtime-20251108-nutflix.2, a prerelease, published the same way asnutflix.1:appimage-runtimeonmainat a98d5e4 byworkflow_dispatch(run 45865015946).test.shpassed on both architectures, the new argument-count cases included.gh attestation verifypasses for each with--signer-workflow …/appimage-runtime.yml --source-ref refs/heads/main --source-digest a98d5e4….runtime-x86_64e7e68188d7f5645024fbc0f705caf20b9b460b2caea2371c8f57557a5311bbc3runtime-aarch64350c9dbc73b30c2cef75d59724ac730935321b7c33d7c5d83e1d279369336325This PR
maker-appimage.ts: the release URLs and both sha256 pins. A file that does not match still fails the build.ci.yml: the three downloads (shell,install,release proof).packaging.test.tsand the runtime README: the release name.engines: Node 22.18 or later (package.json and the lockfile's root entry). The release runbook needs it (type stripping on by default), and withengine-strictnpm refuses an older Node. CI'ssetup-nodetakes the newest 22.x.nutflix.2and what it changes.smoke.ts no-fuse: after the two starts it already made, it starts the real AppImage a third time with no FUSE and one argument, and that start must reach its ready line. This is the start that failed withFailed to run (null): Bad addressundernutflix.1.Proof
The
shelljob packages with the new pins on every target. On Linux x64 and arm64 it launches the AppImage with FUSE, without FUSE (now also with an argument), and on the stock kernel.installandrelease proofuse the same runtime.Summary by CodeRabbit