test(pi): hold packaged rpc confirmation past timeout
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user