Skip to content

Add test-race Makefile target for race condition detection#194

Open
AnyCPU wants to merge 1 commit intobasecamp:mainfrom
AnyCPU:feature/test_race_1
Open

Add test-race Makefile target for race condition detection#194
AnyCPU wants to merge 1 commit intobasecamp:mainfrom
AnyCPU:feature/test_race_1

Conversation

@AnyCPU
Copy link
Contributor

@AnyCPU AnyCPU commented Feb 16, 2026

The test suite (make test) runs without Go's race detector. Data races can go undetected until they cause subtle production issues. The codebase has several concurrency patterns (lock hierarchies, goroutine-based drain/health checks) where race detection is valuable.

Fix

Add a test-race Makefile target that runs go test -race ./.... This keeps make test fast for local development while enabling race detection as a separate step for CI.

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