Files
ARTEX/agent
BaaRai c8c6df423c fix(agent): make the triage threshold atomic
The threshold is written by the settings path and read by the report_finding
worker, so a plain float global is a data race. Store the bits in an
atomic.Uint64, restore the default on 0 or negative, and accept 0 in
applyTriageThreshold so a reset takes effect.

Adds a two-goroutine -race test and the Set(0) reset test.
2026-11-23 22:24:53 +01:00
..
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00