app: real-install proof — the shipped .deb installs and opens on a stock Ubuntu 24.04 (the residue the sandbox cannot execute) #471
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#471
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this is
The residue of #463 the swarm container cannot execute: proving the installed operator app on a real machine. #377 mapped the wall precisely — the npm-downloaded Electron binary the
.debships does not run in the sandbox (missing Chromium sonames; container glibc 2.36 vs required 2.38), and a real payload needs a nix+KVM host to assemble. #463 proves the packaged bytes boot (over the nix Electron, fake payload); this ticket proves the packaged binary installs and opens as shipped.What to run (on a real Ubuntu 24.04 x86_64 machine — the workstation qualifies)
scripts/assemble-payload.shwith the pinned QEMU (#230) and current guest image — mind the staleness gate's lesson (rebuild control-plane/dashboard first).pnpm packagewith that payload → the multi-GiB.deb.sudo apt install ./<artifact>.debon a machine (or clean VM) that has never run the stopgap.IDSS_PAYLOAD_DIR, no staging steps.Acceptance criteria
chown/chmod, no--no-sandboxanywhere; Chromium sandbox verified ON (postinst's SUIDchrome-sandboxdid its job).resourcesPath(founding's private path reaches the wizard; a stand-up attempt on a KVM host is a bonus, not the gate).userDatadir (not~/.config/Electron);IDSS_STATE_DIRreaches the helper (ADR 0050).app.getVersion()(About/window title or log) reports the package version.docs/operator-app/build-and-run.mdsteps 3/4/9/10 and the "what still stops the collapse" section retire into "install the app" (the unpackaged path stays, renamed the dev/e2e path —run-app.shandsmoke-private-path.shstill drive it);STATUS.mdin the same commit.lsof the state dir, sandbox check.Why
ready-for-humanRoot install on a real machine + eyeballing a GUI the sandbox cannot execute (#377's glibc wall). Blocked by #463 (native dependency set).
References
#463 (the packaging step + container-proven open smoke) · #377 (substrate wall evidence) · ADR 0110/#295 ·
docs/operator-app/build-and-run.md.2026-08-20: identifiers in this ticket renamed by the IDSS rebrand (#473, ADR 0187): the .deb, productName, appId and userData dir are now
idss-named; the original text saidourcloud.Install-proof progress (2026-08-12, Ben's machine, Ubuntu 24.04):
ourcloud_0.1.0_amd64.deb(944 MiB) via the new one-linerscripts/package-app.sh(dcf9142) — today's agent/control-plane/dashboard, pinned QEMU 9.1.3 staged over the apt symlinks, Aug-9 guest image + warm cache.apt installsucceeded; layout verified in the artifact (helper/icons/payload at/opt/OurCloud/resources/).chrome-sandboxinstalled 0755: the stock postinst probes userns as root, which Ubuntu 24.04's AppArmor restriction doesn't apply to. Filed as #490 (ready-for-agent+priority); the zero-manual-steps acceptance line here stays unmet until it lands.sudo chmod 4755 /opt/OurCloud/chrome-sandbox.The re-proof after #490: fresh
scripts/package-app.shbuild, reinstall, launch with zero manual steps.Second defect of the install proof (2026-08-12): with #490's chmod applied, the app opens — but founding's private path refuses at the VM stand-up:
payload is not carried — missing NixOS guest base image (""), despite/opt/OurCloud/resources/payload/being complete (qcow2 2.1 GiB + pinned QEMU all present, readable). Root cause: the Electron preload dropspayloadDirwhen rebuildingwindow.__OURCLOUD__— every other hop (main → IPC → production.ts → stdioBridge env) is wired. Filed as #491 (ready-for-agent+priority).Proof continues under the interim launch
OURCLOUD_PAYLOAD_DIR=/opt/OurCloud/resources/payload ourcloud(env inherits through to the helper, #255). Two manual steps now stand between install and founding (#490 chmod, #491 env var) — the zero-manual-steps criterion here is the ledger of both.Session note 2026-08-29: both interim defects from the first proof attempt are closed (#490 chrome-sandbox postinst, #491 preload payloadDir), so the re-proof is unblocked — remaining act is fresh scripts/package-app.sh build → apt install → zero-manual-steps launch + evidence, then the docs collapse. Ben deferred to a free window.
Comment=— the launcher entry is unparseable and the app is absent from GNOME's app grid #1799Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.