fix(pi): settle delayed compact ownership
This commit is contained in:
@@ -612,6 +612,7 @@ export async function runPackagedProductProof(options) {
|
||||
throw new Error(`Hidden packaged Pi run was stopped despite active leases: ${JSON.stringify(backgroundHidden?.resilience)}`);
|
||||
}
|
||||
await evaluateProof(electronApplication, 'resilience.release-parents');
|
||||
await setMainWindowVisible(electronApplication, true);
|
||||
await waitForResilienceProof(
|
||||
electronApplication,
|
||||
(status) => status?.target?.runStatus === 'idle'
|
||||
@@ -619,7 +620,6 @@ export async function runPackagedProductProof(options) {
|
||||
&& status?.resources?.backgroundLeases?.active === 0,
|
||||
'Hidden packaged Pi runs did not settle and release their background leases',
|
||||
);
|
||||
await setMainWindowVisible(electronApplication, true);
|
||||
await page.getByText('RESILIENCE_ACTIVE').last().waitFor({ state: 'visible', timeout: 30_000 });
|
||||
if (!await resilienceComposer.isEnabled()) {
|
||||
throw new Error('Packaged composer stayed disabled after the hidden run settled');
|
||||
|
||||
Reference in New Issue
Block a user