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

Closes #866
This commit is contained in:
Tom Boucher
2026-06-08 14:04:26 -04:00
committed by GitHub
parent 282f145745
commit a7b288b9df
7 changed files with 177 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)