test(pi): hold packaged rpc confirmation past timeout

This commit is contained in:
2026-08-26 07:40:55 +08:00
parent 4b75d201b8
commit 26d616c9b6
8 changed files with 105 additions and 0 deletions

View File

@@ -1898,6 +1898,11 @@ export function armFinalAsarResilienceCompactDelay(): { delayMs: number } {
const run = resilienceCompositionRun;
if (!run) throw new Error('PI resilience proof is not running');
run.provider.armDelayedCompaction();
resilienceRuntime(run).delayNextTopLevelConfirmationForProof(
run.targetConversationId,
'compact',
PROOF_MUTATION_CONFIRMATION_DELAY_MS,
);
return { delayMs: PROOF_MUTATION_CONFIRMATION_DELAY_MS };
}
@@ -1905,6 +1910,11 @@ export function armFinalAsarResiliencePromptDelay(): { delayMs: number } {
const run = resilienceCompositionRun;
if (!run) throw new Error('PI resilience proof is not running');
run.provider.armDelayedPrompt();
resilienceRuntime(run).delayNextTopLevelConfirmationForProof(
run.targetConversationId,
'prompt',
PROOF_MUTATION_CONFIRMATION_DELAY_MS,
);
return { delayMs: PROOF_MUTATION_CONFIRMATION_DELAY_MS };
}