mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-20 01:01:20 +00:00
Extract alert config types, normalization, and identity helpers into internal/alerts/config while preserving the existing alerts package API through aliases and wrappers. Move Manager callback lifecycle state into a same-package callbackBus, keeping public Set/Subscribe methods unchanged. Harden metrics SQLite artifacts to owner-only permissions and cover permissive umask behavior. Proof: go test -json ./internal/api -count=1; go test ./internal/alerts/... ./internal/monitoring ./internal/ai/... ./internal/websocket ./internal/config ./pkg/metrics; go test ./internal/alerts/... ./pkg/metrics |
||
|---|---|---|
| .. | ||
| alert_metrics.go | ||
| alert_metrics_test.go | ||
| norace_test.go | ||
| race_test.go | ||
| store.go | ||
| store_additional_test.go | ||
| store_bench_test.go | ||
| store_downsample_test.go | ||
| store_loadtest_test.go | ||
| store_query_plan_test.go | ||
| store_slo_test.go | ||
| store_test.go | ||