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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(test): await auto-review stop before removing its data root
[._.]/ Adam Eivycfc6d93ae551
diff --git a/server/routes/musicVideoAutoReview.test.js b/server/routes/musicVideoAutoReview.test.jsindex c107c6c813..c1e88dddd8 100644--- a/server/routes/musicVideoAutoReview.test.js+++ b/server/routes/musicVideoAutoReview.test.js@@ -335,7 +335,10 @@ describe('opt-in automatic review/retries (#8988)', () => {h.verdicts.push(PASS);await start(p.id, { maxAttempts: 1, maxGenerations: 0 });await finishDraft(p.id, 1);- const current = await settled(p.id, (x) => expect(run(x).attempts[0].review).toBeTruthy());+ // A recorded review is an intermediate checkpoint: the background run+ // still opens its revision and persists the spend-limit stop afterward.+ // Wait for that terminal write before afterAll removes the data root.+ const current = await settled(p.id, (x) => expect(run(x).status).toBe('limit-reached'));const { review } = run(current).attempts[0];expect(review.checks.motion).toBe('fail');expect(review.findings).toEqual([expect.objectContaining({ atSec: 6, check: 'motion', source: 'analysis' })]);