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.

Workers: the owner's refusal names where Settings keeps the workers, and a recovery check waits for the worker's cleanup

Adarshadee0d27c44c
diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.ts
index 9ed625be..a42c0bc2 100644
--- a/src/server/providers/comfyui.ts
+++ b/src/server/providers/comfyui.ts
@@ -271,7 +271,7 @@ export function installComfyLocal(worker: ComfyWorker = "main"): boolean {
export const POOL_NOT_LOCAL = "This install's ComfyUI address isn't on this machine, so runs of accounts don't go to it.";
/** Said to the owner when no worker is allowed the lane of a job sent to the workers. */
-export const NO_WORKER_FOR_LANE = "No worker is allowed to run this model yet. Allow its lane for a worker in Settings → Workers.";
+export const NO_WORKER_FOR_LANE = "No worker is allowed to run this model yet. Allow its lane for a worker in Settings → Open-source engine · ComfyUI → Workers.";
/**
* Every VideoHelperSuite save node of a graph for the workers saves no metadata: the prompt and the machine's own clock never
diff --git a/tests/worker-recovery.test.ts b/tests/worker-recovery.test.ts
index a21b1172..6649cc29 100644
--- a/tests/worker-recovery.test.ts
+++ b/tests/worker-recovery.test.ts
@@ -579,8 +579,8 @@ describe("clips and sound", () => {
expect(sent.equals(original)).toBe(false);
expect(sent.subarray(4, 8).toString("latin1")).toBe("ftyp");
expect(sent.includes("private-note")).toBe(false);
- // Its copies of people's files went with the job.
- expect(fs.existsSync(path.join(p.workDir, "cache"))).toBe(false);
+ // Its copies of people's files went with the job (the worker clears them just after its last report).
+ expect(await until(() => !fs.existsSync(path.join(p.workDir, "cache")), 10_000)).toBe(true);
});
it("without ffmpeg it takes pictures only, and gives a job with a clip back to the line", async () => {