Skip to content

fix(packaging): ship the nutflix.2 AppImage runtime - #34

Closed
SovereignTechnology wants to merge 3 commits into
mainfrom
chore/appimage-runtime-nutflix-2
Closed

SovereignTechnology wants to merge 3 commits into
mainfrom
chore/appimage-runtime-nutflix-2

Conversation

@SovereignTechnology

@SovereignTechnology SovereignTechnology commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

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 as nutflix.1:

  • 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….
  • The annotated tag points at a98d5e4.
Asset sha256
runtime-x86_64 e7e68188d7f5645024fbc0f705caf20b9b460b2caea2371c8f57557a5311bbc3
runtime-aarch64 350c9dbc73b30c2cef75d59724ac730935321b7c33d7c5d83e1d279369336325

This 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.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.
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

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.
Check argument forwarding
shells/pear-v3/scripts/smoke.ts, shells/pear-v3/README.md
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.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix · Severity of issue fixed: Low

Possibly related PRs

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

Share

Recent review info

Automatic approval policy

Commit: 4532d4650648.

Setting Effective value Source
Automatic approvals Enabled Global configuration
Merge risk Minimal Global configuration
Security risk Not set Global configuration

Not set means no limit was configured after inheritance. Use @coderabbitai configuration to inspect the resolved settings and their sources.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 28f1473e-8cac-4231-82a9-3e75fe4a074f
Commits

Reviewing files that changed from the base of the PR and between 2d93b91 and 4532d46.

Files ignored due to path filters: 1

  • package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 7

  • .github/workflows/ci.yml
  • package.json
  • shells/pear-v3/README.md
  • shells/pear-v3/packaging/__tests__/packaging.test.ts
  • shells/pear-v3/packaging/appimage-runtime/README.md
  • shells/pear-v3/packaging/maker-appimage.ts
  • shells/pear-v3/scripts/smoke.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sovtechpro sovtechpro Bot added the size/S Lines changed by this pull request: S (sovtechpro[bot]) label Nov 26, 2026
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.
@sovtechpro sovtechpro Bot added the flaky-ci A CI failure matches a known flaky cluster label Nov 26, 2026
@sovtechpro

sovtechpro Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

No failure on the current commit matches a known flaky signature.

Automated CI clustering. This note is updated in place.

@sovtechpro sovtechpro Bot removed the flaky-ci A CI failure matches a known flaky cluster label Nov 27, 2026
@SovereignTechnology
SovereignTechnology marked this pull request as ready for review November 27, 2026 01:26
@sovtechpro

sovtechpro Bot commented Nov 27, 2026

Copy link
Copy Markdown

@SovereignTechnology ready to merge: CodeRabbit found nothing open on 4532d46, CI green (28 checks).

SovereignTechnology added a commit that referenced this pull request Nov 27, 2026
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.
@SovereignTechnology

Copy link
Copy Markdown
Owner Author

Squash-merged locally as a88ea45 (CI 29/29 on 4532d46, CodeRabbit approved; pins checked against the release SHA256SUMS and both attestations verified).

@SovereignTechnology
SovereignTechnology deleted the chore/appimage-runtime-nutflix-2 branch November 27, 2026 01:32
SovereignTechnology added a commit that referenced this pull request Nov 27, 2026
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Lines changed by this pull request: S (sovtechpro[bot])

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant