gsxdsm
08a3f2851b
FN-8919: harden stale agent link recovery
Normalize missing task lookup errors so stale durable-agent links do not halt self-healing sweeps.
- Treat thrown not-found and deleted task lookups as stale links.
- Isolate transient task lookup failures to their affected agent.
- Add recovery regression coverage and a patch changeset.
Files changed:
.changeset/fn-8919-agent-link-sweep-fail-open.md | 7 ++
.../self-healing-agent-link-drift.test.ts | 58 +++++++++++++--
.../self-healing-path-utils-task-miss.test.ts | 51 +++++++++++++
packages/engine/src/__tests__/self-healing.test.ts | 84 +++++++++++++++++++++-
.../engine/src/healing/self-healing-path-utils.ts | 34 ++++++++-
packages/engine/src/self-healing.ts | 57 +++++++++++----
6 files changed, 272 insertions(+), 19 deletions(-)
Fusion-Task-Id: FN-8919
Fusion-Task-Lineage: 6dca2c1d-8ff9-47fb-b6c1-24f5af57b499
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-10 03:31:50 -07:00
..
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-10 03:31:50 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00