Adds ResourceRegistry::sweep_stale and runs it on each supervisor tick so a panicked or stuck segment task can't keep a shared resource locked indefinitely. The per-segment task refreshes heartbeat on every iteration for each key in runtime.held_resources, distinguishing live owners from dead ones. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||