WEFT_OS/crates
Marco Allegretti cb48227906
fix(appd): drop --wait from the systemd-run scope launch
When a systemd user manager was detected, weft-appd launched the runtime
with `systemd-run --user --scope --wait ...`. systemd rejects that
combination while parsing options ("--wait may not be combined with
--scope"), so every app launch on such a host exited immediately and the
session stopped without the runtime ever starting.

A scope already runs the command in the foreground: systemd-run registers
the scope and then executes the command in its own process, so stdout and
the exit status still reach appd without --wait.

The options now live in one constant. A Linux test runs the installed
systemd-run with them against an empty runtime directory and bus address
and requires it to reach the manager connection; option and combination
errors stop it earlier. The test does not validate the -p property values
or start a scope. It requires systemd-run to be installed.

This keeps the existing ownership scope for the runtime only; placing the
app shell and helpers under the same owner is separate lifecycle work.

Validation:
- systemd-run 255: the test passes with the new options and fails with
  the old --wait (and with --pty) using systemd's own message
- cargo test -p weft-appd (38 passed), clippy -D warnings, fmt --check
2026-10-09 01:29:24 +00:00
..
weft-app-shell fix(shells): paint and present Servo frames and report readiness truthfully 2026-10-09 01:02:26 +00:00
weft-appd fix(appd): drop --wait from the systemd-run scope launch 2026-10-09 01:29:24 +00:00
weft-build-meta Initialize Rust workspace and repository metadata 2026-03-10 18:47:06 +01:00
weft-compositor fix(compositor): replace panic-prone unwraps with explicit error handling in winit and DRM backends 2026-03-13 13:56:57 +01:00
weft-file-portal fix(ci): restore cross-platform and linux checks 2026-03-13 13:44:44 +01:00
weft-ipc-types feat: weft-mount-helper -- setuid helper for EROFS+dm-verity mounts 2026-03-11 15:43:59 +01:00
weft-mount-helper feat: weft-mount-helper -- setuid helper for EROFS+dm-verity mounts 2026-03-11 15:43:59 +01:00
weft-pack feat: appd IPC relay, WIT interfaces, UI kit, gesture routing, and CI hardening 2026-03-12 12:49:45 +01:00
weft-runtime fix(appd,runtime): harden session lifecycle and IPC mutex safety 2026-03-13 14:05:31 +01:00
weft-servo-shell fix(shells): paint and present Servo frames and report readiness truthfully 2026-10-09 01:02:26 +00:00