WEFT_OS/crates/weft-compositor/src
Marco Allegretti d6a2f94a1d
fix(compositor): buffer appd-bound frames and ignore stale session disconnects
A full socket buffer toward a stalled appd closed the connection and
with it every app. Frames for appd are now queued whole and flushed on
each send and read, and only a backlog beyond the frame limit or a
write error ends the connection. A disconnect report is applied only
when it comes from the session's current client, so a client closed
with an earlier appd cannot remove the mapping of a new session that
reused its ID. A failure to watch a new appd connection no longer
leaves the compositor refusing every later one.

weft-appd refuses a launch with 503 before anything starts while the
compositor is not connected, and waits up to 10 s for the connection
before restoring the previous session.
2026-10-09 15:20:29 +00:00
..
backend fix(compositor): collapse nested submit condition in winit backend 2026-10-09 08:09:41 +00:00
protocols fix(ci): restore cross-platform and linux checks 2026-03-13 13:44:44 +01:00
appd_ipc.rs fix(compositor): buffer appd-bound frames and ignore stale session disconnects 2026-10-09 15:20:29 +00:00
input.rs style: apply rustfmt to all workspace crates 2026-03-13 10:38:01 +01:00
main.rs feat(compositor): add appd IPC server (Unix socket, length-prefixed MessagePack framing) 2026-03-11 14:29:22 +01:00
state.rs fix(compositor): buffer appd-bound frames and ignore stale session disconnects 2026-10-09 15:20:29 +00:00