gsxdsm
10972bbdce
FN-6360: clean up leaked test worker temp roots
Ensure test isolation removes stale worker temp roots after interrupted or busy Vitest runs.
- Add bounded retry cleanup for Vitest worker roots during teardown.
- Prune orphaned fusion-test-workers-* directories before changed-test isolation checks.
- Cover worker-root retry and pruning behavior with targeted tests.
Files changed:
.../core/src/__test-utils__/vitest-teardown.ts | 50 ++++++++++--
.../vitest-teardown-worker-root-cleanup.test.ts | 88 ++++++++++++++++++++++
scripts/__tests__/test-changed.test.mjs | 33 ++++++++
scripts/test-changed.mjs | 32 ++++++++
4 files changed, 196 insertions(+), 7 deletions(-)
Fusion-Task-Id: FN-6360
Fusion-Task-Lineage: d537941d-dd58-403a-a82e-f0aeee9c1eb0
2026-06-13 08:11:46 -07:00
..
2026-06-13 07:38:54 -07:00
2026-06-10 19:05:55 -07:00
2026-06-13 08:11:46 -07:00
2026-06-13 06:12:09 -07:00
2026-06-12 21:50:49 -07:00
2026-06-10 19:05:55 -07:00
2026-06-13 05:06:05 -07:00
2026-06-12 17:57:19 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-08 15:19:27 -07:00
2026-06-10 19:05:55 -07:00