Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

test(runtime): allow Windows to release temporary service logs

kashorineaf6549fb317
diff --git a/packages/runtime-local/test/programs.test.ts b/packages/runtime-local/test/programs.test.ts
index b0695825..aa326981 100644
--- a/packages/runtime-local/test/programs.test.ts
+++ b/packages/runtime-local/test/programs.test.ts
@@ -376,7 +376,9 @@ test("up stops waiting when a started program exits", async () => {
assert.match(result.programs[0]!.detail ?? "", /process exited; see/u);
await assert.rejects(async () => await readFile(join(root, "programs", "example", "process.pid"), "utf8"));
} finally {
- await rm(root, { recursive: true, force: true });
+ // Readiness observes process exit, not the release of Windows redirected-log handles.
+ // Only temporary test cleanup waits for filesystem release; the assertions above stay immediate.
+ await rm(root, { recursive: true, force: true, maxRetries: 10, retryDelay: 100 });
}
});