fix(#866): route profile-pipeline temp output under reaped root + fixture teardown (#879)

Closes #866

(cherry picked from commit a7b288b9df)
This commit is contained in:
Tom Boucher
2026-06-08 14:04:26 -04:00
committed by github-actions[bot]
parent 68d1035aa8
commit 8151ea1329
8 changed files with 178 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 879
---
**profile-pipeline temp output now lands under the reaped GSD temp root.** `cmdExtractMessages` and `cmdProfileSample` previously created their output directories directly in `os.tmpdir()` root (`gsd-pipeline-*` / `gsd-profile-*`), which `reapStaleTempFiles` never scans (it only scans `GSD_TEMP_DIR = os.tmpdir()/gsd`). The directories accumulated forever. Both sites now call `ensureGsdTempDir()` and create under `GSD_TEMP_DIR`. Also adds missing `after`/`afterEach` teardown to four test fixtures that leaked `gsd-*` temp dirs on every `npm test` run. (#866)