Files
sencho/backend
Anso 4c93947004 fix: stop compose-ps spam after deleting a stack (#1831)
* fix: stop compose-ps spam after deleting a stack

A live logs WebSocket kept calling docker compose ps against the removed
stack directory every 2s. Missing cwd surfaces as spawn ENOENT, which was
logged as Docker CLI unavailable. Skip compose when the dir is gone and
idle the log stream instead of retrying.

* fix: contain stack directory stats inside the compose root

Resolve the stack path against the node's compose directory and refuse
paths that escape it before calling fs.stat, matching the existing
filesystem containment pattern at other sinks.
2026-08-14 09:24:48 -04:00
..