Files
PaperClipAI/packages
Priya RamanandPaperclip 6497ae6478 fix(adapter-utils): make SSH env-lab fixture teardown deterministic
Register fixture teardown at start time in a LIFO stack, so every test
tears down its fixture on every exit path, not only in one shared
afterEach that skipped 12 of 15 starts. Hold the fixture state in
memory so teardown does not depend on the state file the directory
removal deletes.

Give stopSshEnvLabFixture a bounded SIGTERM-to-SIGKILL escalation and
let it accept an in-memory state as well as a state path. Re-check
process identity before every signal, and remove the fixture root
directory only after the listener is confirmed gone.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-08-26 18:48:47 +00:00
..