fix(FN-4890): tighten incident replay and stale blocker release

Fusion-Task-Id: FN-4890
Fusion-Task-Lineage: d1ae6585-7df0-481f-83c3-c7cdd45daf4f
This commit is contained in:
Fusion (runfusion.ai)
2026-05-17 10:44:50 -07:00
committed by gsxdsm
parent 25eae69487
commit 36de8ce0c0

View File

@@ -2505,7 +2505,7 @@ export class SelfHealingManager {
}
async autoArchiveResolvedMetaTasks(reboundedTargets?: Set<string>): Promise<number> {
const tasks = await this.store.listTasks({ slim: true, includeArchived: false });
const tasks = await this.store.listTasks({ slim: true, includeArchived: true });
const byId = new Map(tasks.map((task) => [task.id.toUpperCase(), task]));
let archived = 0;
for (const task of tasks) {
@@ -2699,6 +2699,8 @@ export class SelfHealingManager {
reason = `blocker ${blockerId} is done`;
} else if (blocker.column === "archived") {
reason = `blocker ${blockerId} is archived`;
} else if (blocker.column === "todo") {
reason = `blocker ${blockerId} is todo`;
} else if (blocker.column === "in-review" && blocker.paused) {
reason = `blocker ${blockerId} in-review + paused`;
} else if (