mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-01 02:04:24 +00:00
A worker whose server is killed outright retried its control-stream connect forever at a 5 s capped backoff, so it never finalized, never stopped its sandbox, and lived until reboot. The worker now tracks the start of each run of continuous connection failure and gives up after 60 s (10 s once its parent is pid 1), through the existing fatal control-loss path that interrupts interviews and cancels the run. After that fatal fires, the runner keeps driving the cancelled pipeline for a bounded grace so `conclude` can stop the sandbox before the process exits, instead of dropping the pipeline future mid-flight. The test harness's stale-daemon reaper only matched `fabro server` titles bound under `/tmp/.tmp*`, but `TestContext` roots are `.ft-<label>-*` under `std::env::temp_dir()`, so daemons bound there were never reaped. The regex now also matches sockets below a `.ft-` directory component under any parent, and the unit test covers both roots plus real-looking paths and `.ft-` outside a directory component. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| components | ||
| foundation | ||
| packages/fabro-api-client | ||