Skip to content

fix: isolate focus_tool tests with mutex + temp paths#104

Merged
elasticdotventures merged 1 commit into
mainfrom
chore/python-314-standard
Jun 22, 2026
Merged

fix: isolate focus_tool tests with mutex + temp paths#104
elasticdotventures merged 1 commit into
mainfrom
chore/python-314-standard

Conversation

@elasticdotventures

Copy link
Copy Markdown
Member

The focus_tool tests use a global static store + process-level env var, causing race failures in parallel test execution.

Fix: add FOCUS_TEST_MUTEX + isolate_focus_test!() macro that acquires a per-module mutex, sets a temp sidecar path, and resets store before each test. All 10 focus_tool tests pass with default parallelism.

@elasticdotventures elasticdotventures merged commit da3d59c into main Jun 22, 2026
2 of 3 checks passed
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.

2 participants