commit 4fc0695269a05ef3c1c536eaba1382385d1e97ee
parent 16734ac058e1931f0fc8752fe7a1e5b0c2aa1e3c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 12 Nov 2026 05:42:13 -0500
common: the kill guard's fixture names its missing directory without a pid -- the temp-name sweep (umtool/lib/atomicFile-sweep.test.mjs, from main) reads a pid in a temp path as a hand-made temp file
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/lib/childKillGuard.fixture.ts b/common/lib/childKillGuard.fixture.ts
@@ -20,7 +20,8 @@ canary.on("exit", (_c, s) => {
});
await new Promise((r) => setTimeout(r, 150));
-const missing = path.join(os.tmpdir(), `no-such-dir-${process.pid}`, "gone");
+// A directory that does not exist (nothing ever makes it).
+const missing = path.join(os.tmpdir(), "archilyzer-child-kill-guard-no-such-dir", "gone");
const notes: Record<string, unknown> = {};
if (mode === "spawn-kill") {
const c = spawn("sleep", ["5"], { cwd: missing });