gsxdsm
80fbcdd5a3
FN-6396: harden test worker temp cleanup
Prevent stale Fusion test worker roots from leaking across merge-gate runs.
- Add per-run tokens to worker-root owner markers and pruning checks.
- Remove self-minted fallback worker roots during Vitest exit cleanup.
- Cover stale pid reuse, markerless redir roots, and SIGKILL-style orphan pruning with regression tests.
Files changed:
packages/core/src/__test-utils__/vitest-setup.ts | 83 +++++++++++++++++++---
.../core/src/__test-utils__/vitest-teardown.ts | 8 ++-
.../vitest-teardown-worker-root-cleanup.test.ts | 19 ++++-
scripts/__tests__/test-changed.test.mjs | 74 ++++++++++++++++++-
scripts/test-changed.mjs | 76 ++++++++++++++++----
5 files changed, 233 insertions(+), 27 deletions(-)
Fusion-Task-Id: FN-6396
Fusion-Task-Lineage: 711d966d-c70e-4cd7-81cd-accd18f17202
2026-06-13 16:30:28 -07:00
..
2026-06-13 10:01:01 -07:00
2026-05-13 17:44:46 -07:00
2026-05-14 20:21:09 -07:00
2026-05-13 22:41:30 -07:00
2026-05-23 19:51:36 -07:00
2026-05-19 17:19:03 -07:00
2026-06-03 17:36:35 -07:00
2026-06-13 16:30:28 -07:00
2026-06-03 20:34:51 -07:00
2026-06-13 10:01:01 -07:00
2026-05-06 15:21:45 -07:00
2026-06-03 19:12:28 -07:00
2026-06-08 15:19:27 -07:00
2026-05-15 12:24:30 -07:00
2026-06-03 21:03:38 -07:00
2026-05-04 14:35:23 -07:00
2026-05-06 17:51:09 -07:00
2026-05-11 06:47:43 -07:00
2026-06-03 00:28:41 -07:00
2026-05-12 17:04:33 -07:00
2026-05-20 02:46:49 -07:00
2026-05-11 06:47:43 -07:00
2026-05-23 03:33:53 -07:00
2026-05-23 03:09:00 -07:00
2026-05-09 13:21:47 -07:00
2026-05-10 15:33:25 -07:00
2026-06-03 17:57:29 -07:00
2026-06-13 16:30:28 -07:00
2026-05-07 18:08:08 +02:00
2026-05-05 13:25:02 -07:00