Files
RuneStone/docs/archive/linux-validation-2026-10.md
2026-11-16 04:21:21 -07:00

8.5 KiB
Raw Permalink Blame History

Linux validation records: October 2026

Documentation archive · Linux development · Linux installation

These records preserve the October 14–15 checks for version 0.1.34. Results and outstanding work describe those test runs, not the current release.

Validation record: 2026-10-14

Validated on desk: Ubuntu 26.04.1 LTS, x86_64, four CPUs, 7.2 GiB reported RAM, XFCE/X11, Linux 7.0.0-38-generic. The execution environment reports a container boundary and underlying KVM virtualization. This does not validate Ubuntu 24.04, Wayland, ARM, or another distribution.

Source: base commit edef2520afc92f7896454bf94a8ea15bbf4e1684 plus the Linux readiness patch and the Browser window portability fix. The original transferred source archive had SHA-256 b16643bfc7a634e5a5d17a7c246e87d95a458c06fb8afb45899a28a460e03047. The first native compile found a Windows-only drag_and_drop(false) call in src-tauri/src/browser.rs; it now uses the cross-platform disable_drag_drop_handler() API already used by the settings window.

Toolchain: Node.js 24.22.0, pnpm 10.34.7, Rust/Cargo 1.93.1, GLib 2.88.0, GTK 3.24.52, and WebKitGTK 4.1 version 2.52.6. Native builds used one job and CARGO_PROFILE_DEV_DEBUG=0 CARGO_PROFILE_TEST_DEBUG=0 to conserve RAM and disk.

Check Recorded result
pnpm install --frozen-lockfile and npm ci --prefix browser-runtime Passed
pnpm check Passed; zero errors and warnings
pnpm build Passed; bundle-size warnings remain
pnpm browser:check and pnpm browser:test Passed; 44 Browser unit tests
Browser Linux packaging and pnpm browser:stage Passed; x86_64 runtime staged
npm --prefix browser-runtime run test:packaged Passed; all 12 engine smoke checks, sandbox enabled
pnpm test 238 passed, one skipped, two test files failed because the Table Formulas package was absent
cargo test --manifest-path src-tauri/Cargo.toml --lib --locked --offline -j 1 Passed after the portability fix; 92 passed, three ignored
pnpm tauri build --debug --no-bundle -- --locked --offline -j 1 Passed; native debug executable, version 0.1.34
Tauri X11 launch Visible 1400 by 900 window; rendered frontend verified with an internal capture
Host Browser integration Open Browser opened a Browser tab with address and profile controls; no webpage-navigation claim

GUI checks used isolated task-local XDG settings/data directories, and the test processes were closed afterward. Virtual-GPU EGL/VAAPI warnings occurred; they did not prevent these smoke checks. No sandbox, security, swap, or permission workaround was used. Existing user settings and workspaces were not used.

No installer or release package was produced, versions were unchanged, and nothing was published. Remaining work includes supplying/building RuneStone_Table_Formulas and rerunning the full source suite, completing the Linux desktop checks, and validating Debian/AppImage installation and lifecycle behavior on the intended target distribution. These results do not establish full Linux support.

Initial bounded release attempt

The normal release profile (opt-level = 3, full LTO, one codegen unit) was attempted with one Cargo job, locked/offline dependencies, and the already-tested frontend output. Before starting, desk had about 2.0 GiB available RAM, effectively full 4.0 GiB swap, and 4.1 GiB free disk. A temporary user service bounded the entire build to 1,677,721,600 bytes of RAM and no additional swap.

The release build reached the GTK Rust crate but exceeded that hard cap. The service recorded Result=oom-kill, MemoryPeak=1677721600, and zero swap use after 14 minutes 47 seconds. Soft memory throttling was tried first; it caused repeated reclaim, so the soft threshold was removed while retaining the hard cap. No larger memory allowance was attempted. The temporary service was cleaned up; dependency and build caches were preserved. About 3.3 GiB disk remained afterward.

No optimized executable, Debian package, or AppImage was produced. AppImage bundling was not attempted because it needs the release executable. Package contents, generated dependency metadata, and installation lifecycle therefore remain unvalidated. ldd found no missing libraries for the previously tested debug host and staged Browser on desk. In addition to host libraries, the Browser needs NSPR/NSS, CUPS, and ALSA libraries; their Ubuntu 26.04 providers include libnspr4, libnss3, libcups2t64, and libasound2t64. Check the eventual package declares the appropriate runtime dependencies; the current machine having them installed does not prove that package metadata is complete.

The smallest next step is to free more RAM on desk, or use a host with more available memory, then retry the cached release build with a larger bounded allowance. Starting with at least 3 GiB available RAM provides more headroom but does not establish the required peak; measure it during the retry. Recheck disk before bundling. Existing debug-build and smoke-test results above still stand.

Release package validation: 2026-10-15

After desk returned with more headroom, a fresh resource check found 4,956,172 KiB available RAM (about 4.73 GiB), nearly all 4 GiB swap free, and 47 GiB free disk. No finite inherited user-cgroup memory limit was found. The cached release build was retried with one job, a temporary 3.5 GiB memory cap, and no build-group swap. It completed successfully in 12 minutes 32 seconds, with 3.5 GiB peak group memory and no OOM event. The earlier failure establishes only that the chosen 1,600 MiB cap was insufficient; it does not establish that the 8 GB VM cannot build.

The initial Debian bundle declared only GTK and WebKitGTK. Added src-tauri/tauri.linux.conf.json to declare OpenSSL plus the Browser's NSS/NSPR and ALSA dependencies. The release executable requires GLIBC 2.39, so the Debian metadata also declares libc6 (>= 2.39). Tauri retains its default GTK/WebKitGTK dependencies. Recheck symbol requirements when changing the compiler or build host; this floor is evidence from this build, not a permanent portability guarantee. The Debian package was regenerated and its final dependency metadata verified.

Release check Recorded result
Normal optimized release profile and Debian bundling Passed, using locked/offline Cargo dependencies and the previously validated frontend
Debian package RuneStone_0.1.34_amd64.deb, package name rune-stone, version 0.1.34, architecture amd64
Debian package checksums, desktop entry, resources and permissions Passed; host and Browser executables are executable, Browser resource directory is traversable, packaged checksums match
Debian shared libraries on desk All host and Browser libraries resolve
Extracted Debian GUI smoke Host rendered a visible window, launched its own packaged Browser executable, and rendered an HTTPS page
AppImage bundling Passed from the same optimized release executable; 2 minutes 18 seconds, about 1.6 GiB peak memory, no build-group swap
Extracted AppImage GUI smoke AppRun launched, bundled WebKitGTK child processes were used, its packaged Browser launched, and an HTTPS page rendered

Both package tests used isolated task-local settings/data and closed their test processes afterward. AppImage's supported extraction route was used because the VM does not expose /dev/fuse; FUSE-mounted execution was not tested. Virtual-GPU acceleration warnings did not prevent rendering. Versions remain 0.1.34 under the explicit validation-build instruction. These are unsigned experimental artifacts, not published releases. Completed package files, metadata, test limits, and checksums are archived under releases/0.1.34/ outside Git.

No app was installed system-wide and no existing user workspace/settings were used. Installation, same-version reinstall, upgrade, removal, the full desktop acceptance matrix, Ubuntu 24.04, Wayland, and other architectures remain untested. The Table Formulas external dependency remains absent. Native library resolution on desk and successful extraction smoke checks do not prove clean-machine package installation or compatibility with other distributions. The AppImage's bundled WebKitGTK and JavaScriptCoreGTK libraries require GLIBC 2.43. The Debian executable's GLIBC 2.39 floor therefore does not describe the AppImage's minimum runtime. Treat this AppImage as an Ubuntu 26.04 validation artifact rather than a portable Ubuntu 24.04 build.