act_runner/internal/pkg
silverwind a4a6e291d5
fix: protect all r.closed accesses, add race test, enable -race in CI
The initial `if r.closed` guard in RunDaemon() was still reading
r.closed without holding closedM, causing a data race with Close().
Wrap it with closedM to match the other access sites.

Add TestReporter_RunDaemonClose_Race which exercises RunDaemon() and
Close() concurrently — the exact scenario from #793. Without the fix,
`go test -race` reliably detects the data race.

Enable the -race flag in `make test` so CI catches data races.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 02:54:45 +01:00
..
client Bump act to v0.260.0 (#522) 2024-03-27 03:17:04 +00:00
config Fix some typos in internal/pkg/config/config.example.yaml (#764) 2025-11-19 18:16:45 +00:00
envcheck fix: Exit docker container on any process exit (#462) 2024-01-30 13:47:42 +00:00
labels use new docker image URLs (#661) 2025-03-01 20:21:52 +00:00
report fix: protect all r.closed accesses, add race test, enable -race in CI 2026-02-19 02:54:45 +01:00
ver