feat(ghidra): add private headless provider session

This commit is contained in:
N0zoM1z0
2026-07-16 01:27:54 +09:00
committed by N0zoM1z0
parent ed17e76473
commit f0e625d7ee
234 changed files with 8968 additions and 513 deletions
+18
View File
@@ -254,6 +254,24 @@ describe("provider process lifecycle primitives", () => {
}
});
it("allows interpreter launchers to rely on parent and run-token identity", async () => {
const spawned = await spawnOwnedProviderProcess({
command: process.execPath,
arguments: [processFixturePath, "graceful"],
runId: "provider-process-interpreter-run",
expectedCommand: null,
});
try {
expect(spawned.ownership).toMatchObject({
expectedParentPid: process.pid,
runId: "provider-process-interpreter-run",
});
expect(spawned.ownership).not.toHaveProperty("expectedCommand");
} finally {
await stopProviderProcessFixture(spawned.process);
}
});
it("rejects deterministic spawn failures without producing a process", async () => {
await expect(
spawnOwnedProviderProcess({