MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / data-dir-ownership.test.ts

File data-dir-ownership.test.ts

apps/local/src/db/data-dir-ownership.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/* oxlint-disable executor/no-try-catch-or-throw -- boundary: subprocess ownership harness must clean up the held lock process even when assertions fail */
2import { spawn, type ChildProcessWithoutNullStreams } from "node:child_process";
3import { existsSync, mkdtempSync, realpathSync, rmSync } from "node:fs";
4import { tmpdir } from "node:os";

Callers

nothing calls this directly

Calls 5

spawnScriptFunction · 0.85
runAcquireAttemptFunction · 0.85
killChildFunction · 0.85
disposeChildOutputFunction · 0.85
waitForMarkerFunction · 0.70

Tested by

no test coverage detected