gsxdsm
96ad20c93d
FN-9187: Bound auto-archive failure retries
Prevent stale done-task retention from retrying permanently blocked archives forever.
- Pre-filter tasks with live lineage children while honoring renamed archive lanes.
- Bound repeated archive failures by reason and reset budgets when candidates or failure classes change.
- Emit one bounded audit event and operator-facing task log when retries are exhausted.
- Cover retry, escalation, reset, lineage, and renamed-lane behavior and document the retention contract.
Files changed:
.changeset/fn-9187-bounded-auto-archive.md | 7 ++
AGENTS.md | 1 +
docs/architecture.md | 2 +
docs/run-audit.md | 1 +
docs/settings-reference.md | 2 +-
.../live-lineage-children-lanes.pg.test.ts | 3 +-
.../core/src/task-store/archive-lifecycle-2.ts | 11 +-
packages/engine/src/__tests__/self-healing.test.ts | 117 +++++++++++++++++++++
.../engine/src/run-audit/run-audit-catalogue.ts | 3 +
packages/engine/src/self-healing.ts | 93 +++++++++++++++-
packages/engine/src/util/run-audit.ts | 2 +
11 files changed, 231 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-9187
Fusion-Task-Lineage: cc9a6adc-4b6d-44da-a84b-5633d4b80a10
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-21 08:25:18 -07:00
..
2026-08-21 07:44:32 -07:00
2026-08-21 07:44:32 -07:00
2026-08-21 08:25:18 -07:00
2026-08-21 07:44:32 -07:00
2026-08-21 07:44:32 -07:00
2026-08-21 07:44:32 -07:00
2026-08-21 08:25:18 -07:00
2026-08-21 07:44:32 -07:00
2026-08-21 07:44:32 -07:00
2026-08-21 07:44:32 -07:00
2026-07-27 19:40:08 -07:00
2026-08-21 07:44:32 -07:00