Repository navigation
chore(qa): harnesses clean up their temp folders - #60
Merged
Merged
Conversation
Every harness run left its sandbox in the OS temp directory, and the diagnostics unit test left one folder per case: 1,379 folders, about 5 GB, after a few weeks. qa/sandbox.mjs makes them and removes them when the run exits passing; a failing run keeps them and prints where. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016NLGwiBY5uEivJqERQzcoY
writingdeveloper
force-pushed
the
chore/harness-temp-cleanup
branch
from
October 21, 2026 23:48
12dcca4 to
2db7eb7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every harness run left its sandbox in the OS temp directory, and
src/main/diagnostics.test.tsleft one folder per case. On the development PC that came to 1,379 folders, about 5 GB.qa/sandbox.mjs:sandboxDir(prefix)creates the folder and removes it when the process exits with 0. A failing run keeps it and printskept for inspection: ….mkdtempSync. The 4 that already removed their sandbox are unchanged.Checked:
qa/images-remote.mjsandqa/restore-pacing.mjspass and leave nothing. A fullvitest run(1510 passed) leaves nothing.No app code changes.
🤖 Generated with Claude Code
https://claude.ai/code/session_016NLGwiBY5uEivJqERQzcoY