Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

DBS D1 fixes: the mix export's file checks no longer make Turbopack trace the whole project

Claudec9a098a554e4
diff --git a/src/server/mix-export.ts b/src/server/mix-export.ts
index 0e8f58e4..8d15997a 100644
--- a/src/server/mix-export.ts
+++ b/src/server/mix-export.ts
@@ -88,7 +88,7 @@ export function receiveMixPart(o: { id?: string | null; offset: number; data: Bu
file = partPath(id);
let size: number;
try {
- size = fs.statSync(file).size;
+ size = fs.statSync(/*turbopackIgnore: true*/ file).size;
} catch {
throw new MixExportError("That export expired — export the mix again", 404);
}
@@ -97,7 +97,7 @@ export function receiveMixPart(o: { id?: string | null; offset: number; data: Bu
if (size + o.data.length > total) throw new MixExportError("That's more audio than the WAV header says", 413);
fs.appendFileSync(file, o.data);
}
- const received = fs.statSync(file).size;
+ const received = fs.statSync(/*turbopackIgnore: true*/ file).size;
if (received > total) {
fs.rmSync(file, { force: true });
throw new MixExportError("That's more audio than the WAV header says", 413);