Repository navigation
Description
Linux has never been tested. Not once. There is no Linux CI leg, no boot probe, and no Linux-specific work has been done — including in the Windows push (#397, #442), which deliberately scoped to win32.
What is actually known
scripts/package-cross.sh already builds out/Solenta-<version>-linux-x64.tar.gz, so shipping Linux was always the intent. Everything else below is INFERENCE, not evidence.
Linux is POSIX, so the things that turned out to be fatal on Windows are natively fine there:
whichexists (providers.jsdefaultWhich, memory-sup.js)/bin/shexists (verify.js)- no
.cmdshims — agent CLIs are plain executables, so the cross-spawn work is a no-op PATHsplits on:correctly (pathEnv.js)env.SHELLis normally set, socaptureLoginPathworks rather than falling back to/bin/zsh
So Linux is plausibly the healthiest of the two non-macOS platforms. But that is exactly what anyone would have said about Windows before #442, where the app turned out to be dead at the first agent dispatch because of one unguarded which. Inference is not proof, and this issue exists to replace it with proof.
The work
- Add
ubuntu-latestto thetestmatrix in .github/workflows/test.yml. One-line matrix change; expect it to mostly pass. - Add
ubuntu-latestto thesmokematrix. This one is NOT one line: Electron needs a display and the Ubuntu runner has none, unlike the macOS and Windows runners. Needsxvfb-run(or an equivalent) aroundnpm run test:smoke. See Windows: prove the app boots — electron/smoke.js on windows-latest CI #449 for what the smoke job proves and why it is a separate job. - Work through whatever actually fails, honestly — do not disable a leg to make it green.
- Decide what
scripts/test-electron.jsshould run on Linux. It currently branches win32 vs everything-else, so Linux already gets the full glob; confirm that is right rather than assuming.
Known gaps that are NOT bugs
These are macOS-only by design and will stay off on Linux, same as on Windows:
- auto-update (
electron/updater.jsreturns null off darwin; win/linux builds only surface the release URL) electron/fm.js(off unlessCODER_FM_BINis set)- dock and menu specifics (
electron/main.js,electron/menu.js) — already correctly gated
Packaging/signing for non-macOS is tracked separately in #440.
Related: #397 (Windows hardening), #442 (Windows dispatch), #449 (smoke in CI).
Activity
currentbits commentedon Aug 18, 2026
Linux is no longer an inference. The worktree implements the four items; sub-issues #483 #484 #485 are closed.
CI (
test.yml):ubuntu-latestis on both thetestandsmokematrices. Linux smoke isxvfb-run --auto-servernum npm run test:smokeafter installing xvfb + Electron's GTK/NSS/GBM libs.test-electron.js: Linux stays on the POSIX full glob with macOS. That is correct (shebang fakes, signals,/bin/sh,/tmp). No third skip list.What actually failed (Linux Docker, not guessed):
{"step":"smoke","ok":true}Two real breaks, neither a disabled leg:
killTreetest, notkillTree. Group kill works; the grandchild is a zombie andkill(pid, 0)still returns true. Test now treats/procstateZas dead.--no-sandbox(Chromium aborts in C++ before JS if root / no setuidchrome-sandbox).scripts/test-smoke.jspasses the flag on Linux only. Packaged app unchanged.macOS-only features (auto-update,
fm, dock/menu) stay gated. Packaging remains #440.currentbits commentedon Aug 18, 2026
All four work items done (#483 #484 #485). Closing.