Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: give post-release frame publish an explicit waitFor budget (#12177) (#12189)

[._.]/688b59dd75aa
diff --git a/server/services/creativeDirector/evaluationFramesBackupAdmission.test.js b/server/services/creativeDirector/evaluationFramesBackupAdmission.test.js
index beb2f69d3e..81c39f0c06 100644
--- a/server/services/creativeDirector/evaluationFramesBackupAdmission.test.js
+++ b/server/services/creativeDirector/evaluationFramesBackupAdmission.test.js
@@ -142,6 +142,7 @@ describe.each(WRITERS)('$name evaluation frames', ({ project: fixture, start })
for (let i = 0; i < 5; i += 1) await settle();
expect(await capture()).toEqual({ files: [], row: rowBefore });
release();
- await vi.waitFor(async () => expect(await capture()).toEqual({ files: [FRAME], row: [FRAME] }));
+ // Explicit budget: a contended runner (Windows CI, #12177) can land the deferred publish past waitFor's 1s default.
+ await vi.waitFor(async () => expect(await capture()).toEqual({ files: [FRAME], row: [FRAME] }), { timeout: 10000 });
});
});