fetch_ml/internal/security
Jeremie Fraeys f74f3fa730
test(security): fix race conditions in monitor tests
Use atomic operations for shared variables:
- alertCount: atomic.Int32 for concurrent access
- lastAlert: atomic.Value for alert storage

Fixes data races detected by -race flag.
2026-03-13 23:31:22 -04:00
..
audit_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
config_integrity_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
filetype_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
gpu_audit_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
hipaa_validation_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
manifest_filename_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
monitor.go refactor(utilities): update supporting modules for scheduler integration 2026-02-26 12:07:15 -05:00
monitor_test.go test(security): fix race conditions in monitor tests 2026-03-13 23:31:22 -04:00
path_traversal_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
resource_quota_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00
secrets_test.go refactor: co-locate security, storage, telemetry, tracking, worker tests 2026-03-12 16:37:03 -04:00