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

Fix the composed-render lifecycle test failing on Windows, which compared a backslash output path to a POSIX pattern

[._.]/ Adam Eivy77f3bf102137
diff --git a/server/services/musicVideo/render.terminal.test.js b/server/services/musicVideo/render.terminal.test.js
index 0bc123eac8..84b803f262 100644
--- a/server/services/musicVideo/render.terminal.test.js
+++ b/server/services/musicVideo/render.terminal.test.js
@@ -554,7 +554,7 @@ describe('composed render lifecycle (#8984)', () => {
await tick();
const [plan, outputPath] = seg.stitch.mock.calls[0];
expect(plan).toBe(seg.plans.at(-1));
- expect(outputPath).toMatch(/^\/data\/videos\/music-video-composed/);
+ expect(outputPath.replaceAll('\\', '/')).toMatch(/^\/data\/videos\/music-video-composed/);
expect(generateThumbnail).toHaveBeenCalledWith(outputPath, jobId, { atSec: 1 });
expect(getRenderJobStatus(jobId).status).toBe('complete');
expect(updateProject).toHaveBeenCalledWith('composed-1', expect.objectContaining({ status: 'complete', renderHistoryId: jobId }));