app: package the operator app — an installable Electron build carrying helper + payload (retire the unpackaged stopgap) #463

Closed
opened 2026-08-12 03:20:51 +00:00 by ben · 3 comments
Owner

Why now

The operator app has never been built as an installable Electron app. Every launch today is the unpackaged stopgap (docs/operator-app/build-and-run.md), which names the one remaining gap explicitly:

Operator-app packaging/installer is deferred. No installer carries the assembled payload into resourcesPath/payload yet.

Everything the package must carry now exists standalone — this ticket is the collapse, and its own proof: build the installer, then open what it packaged.

  • Shell + renderer builds — pnpm build:electron → dist/ + dist-electron/*.cjs (ADR 0108).
  • Production helper — pnpm build:helper, resolved at process.resourcesPath/helper/helper (app/src-electron/electron-main.ts).
  • Payload assembly — scripts/assemble-payload.sh (#231) stages the exact layout internal/vm/resolve.go reads.
  • Icons — app/src-electron/icons/ (#257).

Ruled decisions (pre-ruled so this is agent-runnable; the ADR records them)

  1. Tool: electron-builder. Record as ADR 0167 (verify the number against origin/main before minting — collision lesson, ADR 0145).
  2. Artifact: .deb, Linux x86_64, Ubuntu 24.04 as the reference target. Not AppImage first: Ubuntu 24.04 restricts unprivileged user namespaces (build-and-run.md step 4), so the sandbox story needs the SUID chrome-sandbox, which a deb postinst owns and an AppImage cannot. electron-builder's stock deb afterInstall sets root-SUID on chrome-sandbox — verify it in the extracted package rather than re-implementing.
  3. App identity: set productName/appId so Electron userData — the stateDir handed to the helper as OURCLOUD_STATE_DIR (ADR 0050) — lands under an ourcloud-named dir, not ~/.config/Electron. Existing unpackaged dev state does not migrate; say so in the docs. app.getVersion() must report the real package version (the ADR 0098 wire; the update feed itself is out of scope).

Substrate constraints (mapped by #377 — read its thread before starting)

  • Network is available in the worker container. electron-builder downloads the Electron dist zip itself (@electron/get) — do not flip the repo's electron build-script denial in pnpm-workspace.yaml (it keeps the --frozen-lockfile CI install offline-safe) and do not commit any approve-builds state.
  • The npm-downloaded Electron binary cannot EXECUTE here — missing Chromium sonames (libnss3/libgtk-3/libgbm/…) and the glibc wall (container 2.36, needed 2.38). Proven on #377. Bundle it; never run it. Anything that must open runs over the nix-built Electron from nix develop .#e2e via scripts/stage-e2e-electron.sh (ELECTRON_OVERRIDE_DIST_PATH) under xvfb-run — the exact GREEN recipe from #377 (wizard-menu.smoke.spec.ts, evidence 20260810T033614Z).
  • A real payload cannot be assembled here (guest image needs a nix+KVM host). A fake-complete payload — dummy bytes in the exact assemble-payload.sh layout — is the sanctioned stand-in: packaging checks presence/layout, and the open smoke never reaches the guest (#377 drove the wizard with no payload at all). Content verity stays with the host drives.

What to build

  1. pnpm package (in app/): electron-builder wiring that produces the .deb from dist/ + dist-electron/, bundling the helper at resourcesPath/helper/helper, icons at resourcesPath/icons, and a payload dir (input: env/arg pointing at an assemble-payload output) at resourcesPath/payload. Refuses loud on an incomplete payload (ADR 0100/0110) — except the gateway-cache/ slot, which is an optimisation and may ship PENDING.
  2. Layout proof (test): dpkg-deb -x the artifact and assert: helper present + executable bit, payload layout matches internal/vm/resolve.go, icons present, control-file version = package version, postinst carries the chrome-sandbox SUID story.
  3. Open proof (the part Ben asked for): a smoke that extracts the built .deb, stages its resources/ into the writable nix-Electron copy (the stage-e2e-electron pattern — same mechanism as build-and-run step 9), and drives it under Xvfb to the operator home (reuse fixtures/wizard.ts / the wizard-menu.smoke shape; OC_E2E_SPEC-selectable). GREEN = the bytes the installer ships are what booted. Post the run stamp + screenshot/trace as evidence, as #377 did.
  4. Docs in the same commit: app/PACKAGING.md (the installer exists; what pnpm package does; the container/host boundary), a build-and-run.md note that packaging has landed container-proven and the full stopgap collapse waits on the real-install proof (#471), and the STATUS.md header.

Acceptance criteria

  • pnpm package produces a Linux x86_64 .deb carrying app, helper, icons, and payload as above; incomplete payload (other than gateway-cache/) refuses loud.
  • Layout test passes in the sandbox: helper/payload/icons/version/postinst-SUID all asserted from the extracted artifact.
  • Open smoke passes in the sandbox: the extracted package's own resources boot to the operator home under Xvfb over the nix Electron — run stamp + screenshot/trace posted on this issue.
  • productName/appId set (ourcloud-named userData); app.getVersion() real.
  • ADR 0167 minted (tool/format/sandbox story); app/PACKAGING.md + build-and-run note + STATUS.md updated in the same commit.
  • No repo-wide install-config change: pnpm-workspace.yaml's electron denial and the frozen-lockfile CI install stay untouched.

Out of scope (→ #471 and later)

  • Installing the .deb on a real machine and launching the shipped Electron binary with the sandbox on, zero env overrides, real payload — the container cannot execute that binary (glibc wall); that residue is #471 (ready-for-human, blocked by this).
  • macOS/Windows packaging, signed installers, the update feed, ADR 0108's IPC hardening, payload content changes (#231 owns those).

If the substrate turns out to lack something this ticket assumes, do not fake it — post exactly which prerequisite is missing and what would grant it (#377's second acceptance path), and stop.

References

#377 (substrate proof + glibc wall) · ADR 0040/0108 (packaging phased; shell shape) · ADR 0110 + #295 (OURCLOUD_PAYLOAD_DIR is the only production resolution; the install carries the payload) · ADR 0133 (gateway-cache/ optional slot) · docs/operator-app/build-and-run.md · app/PACKAGING.md · scripts/stage-e2e-electron.sh · #230, #231, #257.

## Why now The operator app has never been **built as an installable Electron app**. Every launch today is the unpackaged stopgap (`docs/operator-app/build-and-run.md`), which names the one remaining gap explicitly: > **Operator-app packaging/installer is deferred.** No installer carries the assembled payload into `resourcesPath/payload` yet. Everything the package must carry now exists standalone — this ticket is the collapse, **and its own proof**: build the installer, then open what it packaged. - **Shell + renderer builds** — `pnpm build:electron` → `dist/` + `dist-electron/*.cjs` (ADR 0108). - **Production helper** — `pnpm build:helper`, resolved at `process.resourcesPath/helper/helper` (`app/src-electron/electron-main.ts`). - **Payload assembly** — `scripts/assemble-payload.sh` (#231) stages the exact layout `internal/vm/resolve.go` reads. - **Icons** — `app/src-electron/icons/` (#257). ## Ruled decisions (pre-ruled so this is agent-runnable; the ADR records them) 1. **Tool: electron-builder.** Record as ADR **0167** (verify the number against `origin/main` before minting — collision lesson, ADR 0145). 2. **Artifact: `.deb`, Linux x86_64, Ubuntu 24.04 as the reference target.** Not AppImage first: Ubuntu 24.04 restricts unprivileged user namespaces (build-and-run.md step 4), so the sandbox story needs the SUID `chrome-sandbox`, which a deb postinst owns and an AppImage cannot. electron-builder's stock deb afterInstall sets root-SUID on `chrome-sandbox` — verify it in the extracted package rather than re-implementing. 3. **App identity:** set productName/appId so Electron `userData` — the `stateDir` handed to the helper as `OURCLOUD_STATE_DIR` (ADR 0050) — lands under an ourcloud-named dir, not `~/.config/Electron`. Existing unpackaged dev state does not migrate; say so in the docs. `app.getVersion()` must report the real package version (the ADR 0098 wire; the update feed itself is out of scope). ## Substrate constraints (mapped by #377 — read its thread before starting) - **Network is available** in the worker container. electron-builder downloads the Electron dist zip itself (`@electron/get`) — do **not** flip the repo's electron build-script denial in `pnpm-workspace.yaml` (it keeps the `--frozen-lockfile` CI install offline-safe) and do not commit any approve-builds state. - **The npm-downloaded Electron binary cannot EXECUTE here** — missing Chromium sonames (`libnss3`/`libgtk-3`/`libgbm`/…) and the glibc wall (container 2.36, needed 2.38). Proven on #377. **Bundle it; never run it.** Anything that must *open* runs over the nix-built Electron from `nix develop .#e2e` via `scripts/stage-e2e-electron.sh` (`ELECTRON_OVERRIDE_DIST_PATH`) under `xvfb-run` — the exact GREEN recipe from #377 (`wizard-menu.smoke.spec.ts`, evidence `20260810T033614Z`). - **A real payload cannot be assembled here** (guest image needs a nix+KVM host). A **fake-complete payload** — dummy bytes in the exact `assemble-payload.sh` layout — is the sanctioned stand-in: packaging checks presence/layout, and the open smoke never reaches the guest (#377 drove the wizard with no payload at all). Content verity stays with the host drives. ## What to build 1. `pnpm package` (in `app/`): electron-builder wiring that produces the `.deb` from `dist/` + `dist-electron/`, bundling the helper at `resourcesPath/helper/helper`, icons at `resourcesPath/icons`, and a payload dir (input: env/arg pointing at an assemble-payload output) at `resourcesPath/payload`. Refuses loud on an **incomplete** payload (ADR 0100/0110) — except the `gateway-cache/` slot, which is an optimisation and may ship PENDING. 2. **Layout proof (test):** `dpkg-deb -x` the artifact and assert: helper present + executable bit, payload layout matches `internal/vm/resolve.go`, icons present, control-file version = package version, postinst carries the `chrome-sandbox` SUID story. 3. **Open proof (the part Ben asked for):** a smoke that extracts the built `.deb`, stages its `resources/` into the writable nix-Electron copy (the stage-e2e-electron pattern — same mechanism as build-and-run step 9), and drives it under Xvfb to the operator home (reuse `fixtures/wizard.ts` / the `wizard-menu.smoke` shape; `OC_E2E_SPEC`-selectable). GREEN = **the bytes the installer ships are what booted.** Post the run stamp + screenshot/trace as evidence, as #377 did. 4. **Docs in the same commit:** `app/PACKAGING.md` (the installer exists; what `pnpm package` does; the container/host boundary), a build-and-run.md note that packaging has landed **container-proven** and the full stopgap collapse waits on the real-install proof (#471), and the `STATUS.md` header. ## Acceptance criteria - [ ] `pnpm package` produces a Linux x86_64 `.deb` carrying app, helper, icons, and payload as above; incomplete payload (other than `gateway-cache/`) refuses loud. - [ ] Layout test passes in the sandbox: helper/payload/icons/version/postinst-SUID all asserted from the extracted artifact. - [ ] Open smoke passes in the sandbox: the extracted package's own resources boot to the operator home under Xvfb over the nix Electron — run stamp + screenshot/trace posted on this issue. - [ ] productName/appId set (ourcloud-named `userData`); `app.getVersion()` real. - [ ] ADR 0167 minted (tool/format/sandbox story); `app/PACKAGING.md` + build-and-run note + `STATUS.md` updated in the same commit. - [ ] No repo-wide install-config change: `pnpm-workspace.yaml`'s electron denial and the frozen-lockfile CI install stay untouched. ## Out of scope (→ #471 and later) - Installing the `.deb` on a real machine and launching the **shipped** Electron binary with the sandbox on, zero env overrides, real payload — the container cannot execute that binary (glibc wall); that residue is **#471** (`ready-for-human`, blocked by this). - macOS/Windows packaging, signed installers, the update feed, ADR 0108's IPC hardening, payload content changes (#231 owns those). If the substrate turns out to lack something this ticket assumes, do not fake it — post exactly which prerequisite is missing and what would grant it (#377's second acceptance path), and stop. ## References #377 (substrate proof + glibc wall) · ADR 0040/0108 (packaging phased; shell shape) · ADR 0110 + #295 (`OURCLOUD_PAYLOAD_DIR` is the only production resolution; the install carries the payload) · ADR 0133 (`gateway-cache/` optional slot) · `docs/operator-app/build-and-run.md` · `app/PACKAGING.md` · `scripts/stage-e2e-electron.sh` · #230, #231, #257.
Author
Owner

Heads-up for the implementing agent: ADR 0167 is now taken (docs/adr/0167-design-a-surface-render-crash-wears-a-fault-frame.md, commit 87e9382, 2026-08-12). Per this ticket's own instruction, verify against origin/main and mint the next free number (0168 at time of writing).

Heads-up for the implementing agent: ADR **0167** is now taken (`docs/adr/0167-design-a-surface-render-crash-wears-a-fault-frame.md`, commit `87e9382`, 2026-08-12). Per this ticket's own instruction, verify against `origin/main` and mint the next free number (0168 at time of writing).
Author
Owner

Outcome: GREEN — the operator app packages as an installable .deb, both proofs pass in the sandbox

Committed in e2e0a38 (ADR 0168 — 0167 was taken concurrently by the backlog-walk's render-crash DDR; verified against origin/main before minting per the collision lesson, ADR 0145).

What landed

pnpm package (in app/, electron-builder, electron-builder.yml) builds a Linux x86_64 .deb carrying the shell+renderer asar plus the three extraResources the shell resolves from process.resourcesPath: the production helper (helper/helper), icons (icons/, #257), and the private-path payload (payload/, ADR 0110). appId nz.matou.ourcloud / productName OurCloud → userData under ~/.config/OurCloud; version 0.1.0 so app.getVersion() is real. Incomplete payload refuses loud (scripts/verify-payload.mjs) except the optional gateway-cache/ (ADR 0133). The Electron dist is bundled by @electron/get, never executed here (glibc wall, #377); pnpm-workspace.yaml's electron denial + frozen-lockfile install untouched.

Evidence

  • Run: test-results/package-smoke/20260812T153413Z, reproduced end to end by scripts/smoke-package.sh inside nix develop .#e2e over ONLY committed pieces.
  • Artifact: ourcloud_0.1.0_amd64.deb (108 MB), Package: ourcloud, Version: 0.1.0, Architecture: amd64.
  • LAYOUT PROOF (scripts/package-layout-check.sh) — PASS (12/12): helper present+executable · payload agent/control-plane/nixos-guest.qcow2/qemu-img/qemu-system-x86_64/dashboard/ (the exact internal/vm/resolve.go layout) · icons/256x256.png · resources/app.asar · control Version=0.1.0 == package 0.1.0 · postinst root-SUIDs chrome-sandbox (chmod 4755) · chrome-sandbox shipped.
  • OPEN PROOF (package-open.smoke.spec.ts) — 1 passed (3.6s), body 1.7s: the .deb's own resources/ (app.asar + real helper + icons + fake-complete payload) staged into a writable nix Electron (scripts/stage-e2e-electron-package.sh) and driven under Xvfb to the operator home. GREEN = the bytes the installer ships are what booted.
  • Screenshot: operator-home.png — the packaged frameless "OurCloud" window (productName landed) on "Create a community", reached over the packaged helper (eyeballed, real render — not a false green).
  • Host facts: no /dev/kvm; glibc 2.36 (Debian bookworm); kernel 6.8.0-124; 4 vCPU; Electron 33.4.11 (nix-built for the drive; bundled npm dist for the package).

Out of scope → #471 (ready-for-human)

Installing the .deb on a real machine and founding from the shipped Electron with the sandbox on, zero env overrides, a real payload — the container cannot execute that binary (glibc wall). The layout proof asserts the postinst SUID story that #471 will exercise live.

## Outcome: GREEN — the operator app packages as an installable `.deb`, both proofs pass in the sandbox Committed in `e2e0a38` (ADR **0168** — `0167` was taken concurrently by the backlog-walk's render-crash DDR; verified against `origin/main` before minting per the collision lesson, ADR 0145). ### What landed `pnpm package` (in `app/`, electron-builder, `electron-builder.yml`) builds a Linux x86_64 `.deb` carrying the shell+renderer asar plus the three `extraResources` the shell resolves from `process.resourcesPath`: the production helper (`helper/helper`), icons (`icons/`, #257), and the private-path payload (`payload/`, ADR 0110). `appId nz.matou.ourcloud` / `productName OurCloud` → `userData` under `~/.config/OurCloud`; `version 0.1.0` so `app.getVersion()` is real. Incomplete payload refuses loud (`scripts/verify-payload.mjs`) except the optional `gateway-cache/` (ADR 0133). The Electron dist is bundled by `@electron/get`, **never executed here** (glibc wall, #377); `pnpm-workspace.yaml`'s electron denial + frozen-lockfile install untouched. ### Evidence - **Run:** `test-results/package-smoke/20260812T153413Z`, reproduced end to end by `scripts/smoke-package.sh` inside `nix develop .#e2e` over ONLY committed pieces. - **Artifact:** `ourcloud_0.1.0_amd64.deb` (108 MB), `Package: ourcloud`, `Version: 0.1.0`, `Architecture: amd64`. - **LAYOUT PROOF (`scripts/package-layout-check.sh`) — PASS (12/12):** helper present+executable · payload `agent`/`control-plane`/`nixos-guest.qcow2`/`qemu-img`/`qemu-system-x86_64`/`dashboard/` (the exact `internal/vm/resolve.go` layout) · `icons/256x256.png` · `resources/app.asar` · control `Version=0.1.0` == package `0.1.0` · postinst root-SUIDs `chrome-sandbox` (`chmod 4755`) · `chrome-sandbox` shipped. - **OPEN PROOF (`package-open.smoke.spec.ts`) — `1 passed (3.6s)`, body 1.7s:** the `.deb`'s own `resources/` (app.asar + real helper + icons + fake-complete payload) staged into a writable nix Electron (`scripts/stage-e2e-electron-package.sh`) and driven under Xvfb to the operator home. GREEN = **the bytes the installer ships are what booted.** - **Screenshot:** `operator-home.png` — the packaged **frameless "OurCloud" window** (productName landed) on "Create a community", reached over the packaged helper (eyeballed, real render — not a false green). - **Host facts:** no `/dev/kvm`; glibc 2.36 (Debian bookworm); kernel 6.8.0-124; 4 vCPU; Electron 33.4.11 (nix-built for the drive; bundled npm dist for the package). ### Out of scope → #471 (`ready-for-human`) Installing the `.deb` on a real machine and founding from the **shipped** Electron with the sandbox on, zero env overrides, a real payload — the container cannot execute that binary (glibc wall). The layout proof asserts the postinst SUID story that #471 will exercise live.
Author
Owner

close-report for #463 — status success

✅ close-report gates passed — every claim verified against main; closing.

envelope
{
  "issue": 463,
  "status": "success",
  "commits": [
    "e2d0a3817e4fea9bf409c4e3231a5c5dfa5c3542"
  ],
  "changed_files": [
    ".gitignore",
    "STATUS.md",
    "app/PACKAGING.md",
    "app/electron-builder.yml",
    "app/package.json",
    "app/scripts/verify-payload.mjs",
    "app/tests/e2e/fixtures/launch.ts",
    "app/tests/e2e/package-open.smoke.spec.ts",
    "docs/adr/0168-operator-app-packages-as-a-deb-via-electron-builder.md",
    "docs/operator-app/build-and-run.md",
    "pnpm-lock.yaml",
    "scripts/package-layout-check.sh",
    "scripts/smoke-package.sh",
    "scripts/stage-e2e-electron-package.sh"
  ],
  "tests": [
    {
      "command": "scripts/package-layout-check.sh",
      "exit_code": 0
    },
    {
      "command": "nix develop .#e2e -c scripts/smoke-package.sh (layout + open proof, run 20260812T153413Z)",
      "exit_code": 0
    },
    {
      "command": "nix develop .#e2e -c pnpm --filter app test",
      "exit_code": 0
    },
    {
      "command": "nix develop .#e2e -c pnpm --filter app build",
      "exit_code": 0
    }
  ],
  "criteria": {
    "pnpm package produces a Linux x86_64 .deb carrying app, helper, icons, and payload; incomplete payload (other than gateway-cache) refuses loud": "app/electron-builder.yml (extraResources helper/icons/payload) + app/package.json `package` script; built ourcloud_0.1.0_amd64.deb (Architecture amd64) in run 20260812T153413Z; app/scripts/verify-payload.mjs refuses on a missing required slot (exit 1) but not on absent gateway-cache — both verified in the sandbox",
    "Layout test passes in the sandbox: helper/payload/icons/version/postinst-SUID all asserted from the extracted artifact": "scripts/package-layout-check.sh — PASS 12/12 (logs/layout-proof.log in the run): helper+exec, payload layout (resolve.go names), icons, control Version==package 0.1.0, postinst chmod 4755 chrome-sandbox",
    "Open smoke passes in the sandbox: the extracted package's own resources boot to the operator home under Xvfb over the nix Electron — run stamp + screenshot/trace posted": "app/tests/e2e/package-open.smoke.spec.ts via scripts/stage-e2e-electron-package.sh — 1 passed (3.6s); run 20260812T153413Z, operator-home.png + report/trace; posted issue comment #6591",
    "productName/appId set (ourcloud-named userData); app.getVersion() real": "app/electron-builder.yml appId nz.matou.ourcloud + productName OurCloud (userData ~/.config/OurCloud); app/package.json version 0.1.0 (screenshot title bar reads OurCloud; deb control Version 0.1.0)",
    "ADR 0167 minted (tool/format/sandbox story); app/PACKAGING.md + build-and-run note + STATUS.md updated in the same commit": "Minted as ADR 0168 — 0167 was taken concurrently by the backlog-walk render-crash DDR, so per the ADR 0145 collision lesson mine moved to 0168 (docs/adr/0168-operator-app-packages-as-a-deb-via-electron-builder.md); app/PACKAGING.md, docs/operator-app/build-and-run.md, STATUS.md all updated in commit e2d0a38",
    "No repo-wide install-config change: pnpm-workspace.yaml's electron denial and the frozen-lockfile CI install stay untouched": "pnpm-workspace.yaml not in changed_files; only pnpm-lock.yaml gains the electron-builder devDep subtree (the standing dependency-lockfile exception); the Electron dist is fetched by @electron/get at package time, not the install-time postinstall"
  },
  "summary": "The operator app now packages as an installable Linux x86_64 .deb (electron-builder, ADR 0168) carrying helper/icons/payload, proven in the sandbox by the layout proof and the open proof (the shipped bytes boot to the operator home).",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #463 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; closing. <details><summary>envelope</summary> ```json { "issue": 463, "status": "success", "commits": [ "e2d0a3817e4fea9bf409c4e3231a5c5dfa5c3542" ], "changed_files": [ ".gitignore", "STATUS.md", "app/PACKAGING.md", "app/electron-builder.yml", "app/package.json", "app/scripts/verify-payload.mjs", "app/tests/e2e/fixtures/launch.ts", "app/tests/e2e/package-open.smoke.spec.ts", "docs/adr/0168-operator-app-packages-as-a-deb-via-electron-builder.md", "docs/operator-app/build-and-run.md", "pnpm-lock.yaml", "scripts/package-layout-check.sh", "scripts/smoke-package.sh", "scripts/stage-e2e-electron-package.sh" ], "tests": [ { "command": "scripts/package-layout-check.sh", "exit_code": 0 }, { "command": "nix develop .#e2e -c scripts/smoke-package.sh (layout + open proof, run 20260812T153413Z)", "exit_code": 0 }, { "command": "nix develop .#e2e -c pnpm --filter app test", "exit_code": 0 }, { "command": "nix develop .#e2e -c pnpm --filter app build", "exit_code": 0 } ], "criteria": { "pnpm package produces a Linux x86_64 .deb carrying app, helper, icons, and payload; incomplete payload (other than gateway-cache) refuses loud": "app/electron-builder.yml (extraResources helper/icons/payload) + app/package.json `package` script; built ourcloud_0.1.0_amd64.deb (Architecture amd64) in run 20260812T153413Z; app/scripts/verify-payload.mjs refuses on a missing required slot (exit 1) but not on absent gateway-cache — both verified in the sandbox", "Layout test passes in the sandbox: helper/payload/icons/version/postinst-SUID all asserted from the extracted artifact": "scripts/package-layout-check.sh — PASS 12/12 (logs/layout-proof.log in the run): helper+exec, payload layout (resolve.go names), icons, control Version==package 0.1.0, postinst chmod 4755 chrome-sandbox", "Open smoke passes in the sandbox: the extracted package's own resources boot to the operator home under Xvfb over the nix Electron — run stamp + screenshot/trace posted": "app/tests/e2e/package-open.smoke.spec.ts via scripts/stage-e2e-electron-package.sh — 1 passed (3.6s); run 20260812T153413Z, operator-home.png + report/trace; posted issue comment #6591", "productName/appId set (ourcloud-named userData); app.getVersion() real": "app/electron-builder.yml appId nz.matou.ourcloud + productName OurCloud (userData ~/.config/OurCloud); app/package.json version 0.1.0 (screenshot title bar reads OurCloud; deb control Version 0.1.0)", "ADR 0167 minted (tool/format/sandbox story); app/PACKAGING.md + build-and-run note + STATUS.md updated in the same commit": "Minted as ADR 0168 — 0167 was taken concurrently by the backlog-walk render-crash DDR, so per the ADR 0145 collision lesson mine moved to 0168 (docs/adr/0168-operator-app-packages-as-a-deb-via-electron-builder.md); app/PACKAGING.md, docs/operator-app/build-and-run.md, STATUS.md all updated in commit e2d0a38", "No repo-wide install-config change: pnpm-workspace.yaml's electron denial and the frozen-lockfile CI install stay untouched": "pnpm-workspace.yaml not in changed_files; only pnpm-lock.yaml gains the electron-builder devDep subtree (the standing dependency-lockfile exception); the Electron dist is fetched by @electron/get at package time, not the install-time postinstall" }, "summary": "The operator app now packages as an installable Linux x86_64 .deb (electron-builder, ADR 0168) carrying helper/icons/payload, proven in the sandbox by the layout proof and the open proof (the shipped bytes boot to the operator home).", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
ben closed this issue 2026-08-12 15:47:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#463
No description provided.