WEFT_OS/crates
Marco Allegretti 26bd5b5079
fix(appd): end sessions whose IPC connection closes and never block on it
IPC_FORWARD held the registry lock while awaiting a send to the
component; with a full queue it stalled appd, and once the relay was
closed it locked the registry again and deadlocked. It now sends without
waiting and reports an error when the session has no relay or its queue
is full.

A relay whose component disconnected left the session running with no
way to exchange messages. The session now stops when its IPC connection
closes. The relay releases its task and socket when dropped, so a
cancelled supervisor leaks neither, and the socket is created with mode
0600.

New tests fail against the previous code: IPC_FORWARD against a missing
relay and a full queue must answer at once, and a runtime that closes
its IPC connection while still running must end its session. The test
runtime directory lives under target/ instead of one directory per run.
2026-10-09 09:18:39 +00:00
..
weft-app-shell fix(app-shell): refuse encoded separators in the UI scope 2026-10-09 07:53:23 +00:00
weft-appd fix(appd): end sessions whose IPC connection closes and never block on it 2026-10-09 09:18:39 +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(runtime): enforce effective capability grants per session 2026-10-09 08:08:58 +00:00
weft-ipc-types fix(appd): move only real app data and never replace a directory 2026-10-09 08:52:09 +00: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 fix(pack): never delete a data directory that was not moved 2026-10-09 09:01:28 +00:00
weft-runtime fix(runtime): close fetch and preopen gaps in grant enforcement 2026-10-09 08:25:40 +00:00
weft-servo-shell fix(appd): authorize WebSocket clients by role and session 2026-10-09 07:45:49 +00:00