Skip to content

test(fixtures): keep fixtures in repo tmp/ + age-based orphan reaper - #28

Open
cldmv-bot[bot] wants to merge 1 commit into
nextfrom
fix/test-fixture-leak
Open

test(fixtures): keep fixtures in repo tmp/ + age-based orphan reaper#28
cldmv-bot[bot] wants to merge 1 commit into
nextfrom
fix/test-fixture-leak

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

  • test(fixtures): keep fixtures in repo tmp/ + age-based orphan reaper (f9cda29)
👥 Contributors

Test fixtures were written to <cwd>/../tmp-fix-headers-tests (the repos root) and
only cleaned on the happy path, so failed/interrupted runs leaked git-repo fixtures
into the shared repos root — hundreds accumulated. Anchor the fixture root to the
repo's own gitignored tmp/ (import.meta.dirname-relative, cwd-independent), and add
a vitest globalSetup that reaps only STALE (mtime older than 1h) orphans so a
concurrent in-flight run's fresh fixtures are never touched.
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: tests Touches test files, fixtures, or test infrastructure labels Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Touches test files, fixtures, or test infrastructure ! fix → next v4 flow: fix contributor PR targeting the next integration branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant