Skip to content

fix: serialize concurrent artifact writers - #41

Merged
witqq merged 1 commit into
masterfrom
fix/concurrent-artifact-lock
Sep 6, 2026
Merged

witqq merged 1 commit into
masterfrom
fix/concurrent-artifact-lock

Conversation

@witqq

@witqq witqq commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Fixes cross-process artifact cleanup/write races by holding an ownership-safe artifacts-directory lock for the full run. Also restores advertised TypeScript config loading in the published CLI by moving tsx to runtime dependencies.\n\nVerified under Node 24.20.0: npm run verify (341 unit, 2 integration), plus three concurrent Testfold processes returned distinct 5/27/34-test results without ENOENT or result mixing.

Lock each artifacts directory for the full Testfold run so independent processes cannot delete or parse one another's suite files. Load TypeScript configs through the published tsx runtime and release v0.4.3.
@witqq
witqq merged commit 9352210 into master Sep 6, 2026
3 checks passed
@witqq
witqq deleted the fix/concurrent-artifact-lock branch September 6, 2026 06:04
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