Retain a job's exit status/code/true finish time for a configurable window after update_worker_status() detects its exit, before cleanup_worker_list() would otherwise discard all trace of it (Requirements 3.4, 3.5, 3.7). Hooked into the single choke point both production exit-detection paths (libuv IPC callback, dbus polling) converge through, so retention happens-before any reap regardless of which mechanism is active. Also prunes on retain (not just on lookup), closing a review finding: lookup currently has zero production callers until task 4.2 lands, so without this the store would grow unboundedly for the daemon's uptime. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y4M5MJM2zK6nU43da267Ku |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||