Skip to content

Start every test scratch folder empty - #22

Merged
geeooff merged 1 commit into
mainfrom
fix-test-scratch
Oct 17, 2026
Merged

geeooff merged 1 commit into
mainfrom
fix-test-scratch

Conversation

@geeooff

@geeooff geeooff commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Each test scratch folder was named after the test process id and never emptied. Windows reuses process ids, so on 2026-10-17 a run picked up an earlier run's session marker and edge files, and five engine scenarios failed on a docs-only branch.

One shared helper, crate::testing::fresh_dir, now empties the folder first. It replaces eight copies, of which only one emptied its folder. This needs to be reliable before Lot 20 lets CI gate automatic merges.

build.ps1 test passes.

🤖 Generated with Claude Code

The folders were named after the test process's id and never emptied. Windows reuses process ids, and on 2026-10-17 a run found an earlier run's session marker and edge files: five engine scenarios failed on a docs-only branch. One shared helper now empties the folder first, in place of eight copies of which only one did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@geeooff
geeooff merged commit d54a64e into main Oct 17, 2026
1 check passed
@geeooff
geeooff deleted the fix-test-scratch branch October 17, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant