-
-
Notifications
You must be signed in to change notification settings - Fork 111
fix: use Interlocked for _sessionTestCount initialization #4680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. This PR correctly addresses a thread-safety issue by using |
_sessionTestCount was initialized with direct assignment but decremented with Interlocked.Decrement, creating a data race that could cause "last test in session" events to fire incorrectly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5bd8b72 to
376a3f8
Compare
Summary
Test plan
🤖 Generated with Claude Code