Commit Graph
2 Commits
Author SHA1 Message Date
can1357 2dba883e08 fix(launch): preserved global daemon service runtimes 2026-08-16 02:43:31 +02:00
roboomp 0fc2b0f42c fix(launch): prune dead daemon runtime dirs on broker startup
~/.omp/run/daemons/<hash> scopes accumulated forever: broker shutdown
removed only the socket and PID lease, and nothing swept dead scopes, so
inert broker state and the persistent shared Chromium profiles grew
without bound (reporter: 1.3GB / 198 dirs in ~4 weeks).

Each broker now sweeps its sibling daemon roots on startup and removes a
scope only when its broker.pid is absent/dead, no live client presence
remains, and it has been untouched past a stale grace. The caller's own
runtime dir and the machine-global daemon container are skipped. The
sweep is detached and non-throwing so it never delays client connects.

Fixes #8674
2026-08-15 19:33:25 +00:00