act_runner/internal/pkg/report
silverwind 64ab5fdd51
fix: use stateMu instead of closedM to protect r.closed
Remove the dedicated closedM mutex and use stateMu instead, since
closed is part of the reporter state. RunDaemon reads r.closed under
stateMu.RLock, Close sets it under the existing stateMu.Lock block.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 03:20:13 +01:00
..
reporter.go fix: use stateMu instead of closedM to protect r.closed 2026-02-19 03:20:13 +01:00
reporter_test.go fix: protect all r.closed accesses, add race test, enable -race in CI 2026-02-19 02:54:45 +01:00