Skip to content

bug: serialize mixed testing.invoke calls around cwd changes - #229

Merged
codeforester merged 1 commit into
mainfrom
bug/222-20260826-bug-serialize-mixed-testing-invoke-calls-around-cwd-changes
Aug 26, 2026
Merged

codeforester merged 1 commit into
mainfrom
bug/222-20260826-bug-serialize-mixed-testing-invoke-calls-around-cwd-changes

Conversation

@codeforester

Copy link
Copy Markdown
Contributor

Closes #222

Summary

  • serialize no-cwd and cwd-mutating testing.invoke() calls with the same process-wide lock
  • preserve cwd restoration on normal and exceptional paths
  • add a deterministic mixed-call concurrency regression
  • document the process-global concurrency contract

Validation

  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra dev --extra typer pytest -q
  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra quality ruff check
  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra quality ruff format --check
  • UV_CACHE_DIR=/private/tmp/base-cli-uv-cache uv run --extra quality mypy --no-incremental --strict lib/python/base_cli

@codeforester
codeforester merged commit ac707ce into main Aug 26, 2026
92 checks passed
@codeforester
codeforester deleted the bug/222-20260826-bug-serialize-mixed-testing-invoke-calls-around-cwd-changes branch August 26, 2026 05:50
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.

bug: serialize mixed testing.invoke calls around cwd changes

1 participant