mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-04 11:01:16 +01:00
Add Copilot Product qualification and fixture ownership checks
Reviewed partition of the current-master Copilot integration. Complete v30 live qualification is retained; current v31 recovery compatibility, CI and review are tracked explicitly. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
fcbb80554e
commit
c48b89618f
74 files changed
+13325
-58
No files matched your search
@@ -27,6 +27,30 @@ it.skipIf(process.platform === "win32")("revalidates PID/start before signaling
|
||||
} finally { f.owner.stopObserving(); }
|
||||
});
|
||||
|
||||
it.skipIf(process.platform === "win32")("keeps surviving peer identities when a descendant traversal ends at a short-lived child", async () => {
|
||||
const f = fixture([row(100, process.pid, 100), row(101, 100, 100), row(200, 100, 200), row(201, 200, 200)]);
|
||||
try {
|
||||
await f.owner.observe();
|
||||
await f.owner.observe();
|
||||
f.replace([row(100, process.pid, 100), row(200, 100, 200)]);
|
||||
await f.owner.signal("SIGKILL");
|
||||
expect(f.signals).toEqual([[200, "SIGKILL"], [100, "SIGKILL"]]);
|
||||
} finally { f.owner.stopObserving(); }
|
||||
});
|
||||
|
||||
it.skipIf(process.platform === "win32")("keeps surviving peers after the launcher exits without admitting an unobserved group", async () => {
|
||||
const f = fixture([row(100, process.pid, 100), row(200, 100, 200), row(201, 200, 200)]);
|
||||
try {
|
||||
await f.owner.observe();
|
||||
f.root.exitCode = 0;
|
||||
f.replace([row(200, 1, 200), row(201, 200, 200)]);
|
||||
await f.owner.observe();
|
||||
f.replace([row(200, 1, 200), row(999, 1, 999)]);
|
||||
await f.owner.signal("SIGTERM");
|
||||
expect(f.signals).toEqual([[200, "SIGTERM"]]);
|
||||
} finally { f.owner.stopObserving(); }
|
||||
});
|
||||
|
||||
it.skipIf(process.platform === "win32")("retains observed descendants when the root exits and excludes the caller group", async () => {
|
||||
const f = fixture([row(100, process.pid, 100), row(200, 100, 200), row(300, 100, 10), row(999, process.pid, 999)]);
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user