feat(FN-4948): complete Steps 7-8 — finalize verification and release artifacts

Fusion-Task-Id: FN-4948
Fusion-Task-Lineage: dc622643-4c3e-4217-9219-a6a6e5424427
This commit is contained in:
Fusion (runfusion.ai)
2026-05-17 15:48:00 -07:00
committed by gsxdsm
parent eff52748bc
commit 84dd46e6f5

View File

@@ -8498,19 +8498,6 @@ Backward compat fallback: if JSON is unavailable, you may still begin output wit
}
};
const installGuardOrCleanup = async () => {
try {
await installTaskWorktreeIdentityGuard({ worktreePath: path, taskId });
} catch (error) {
try {
await execAsync(`rm -rf "${path}"`, { cwd: this.rootDir });
} catch {
executorLog.log(`Warning: failed to remove worktree after identity-guard install failure: ${path}`);
}
throw error;
}
};
let staleLockRecoveryAttempted = false;
try {
await createWithBranch(branch);