test(runner): finish phase 6 conformance

Exercise all atomic-liveness failpoints, make native cancellation retry-safe, and align the allowlist and verification evidence with the final database-backed matrix.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-08-09 03:49:43 +00:00
1 parent 0ca23dd535
commit f285bbbab8
8 files changed
+60 -12

No files matched your search

@@ -23,8 +23,13 @@ export async function cancelNativeSession(runId: string, reason: string): Promis
if (!active) return false;
if (active.cancelRequested) return true;
active.cancelRequested = true;
if (active.session.cancel) await active.session.cancel({ reason });
else if (active.session.interrupt) await active.session.interrupt({ reason });
try {
if (active.session.cancel) await active.session.cancel({ reason });
else if (active.session.interrupt) await active.session.interrupt({ reason });
} catch (error) {
active.cancelRequested = false;
throw error;
}
return true;
}