5 Commits

Author SHA1 Message Date
rcourtman
48ac234269 refactor(alerts): retire dead layers, fix config drift, dedupe tables
Clean up accumulated migration scaffolding, dead engine layers, and frontend/backend drift across the alert stack without changing external API contracts:

- Retire the duplicate legacy checkMetric evaluator and unused specs.Evaluate state machine, and stop enabling the duplicate production shadow feed in monitoring.
- Fix two real defects exposed during consolidation: fan out canonical metric alerts to all registered subscribers even when no single-slot callback is set, and copy Value/Message/LastSeen on resolved operational snapshots in HistoryManager so legacy and SQLite history projections stay in parity.
- Align frontend AlertConfig types and payloads with the Go backend by removing dropped dead fields (aggregation, ioNormalization, nested flapping, notifications, maxGroupSize), adding the real backend alert-hygiene and flapping fields, and deduplicating Override/OverrideType.
- Group alerts.Manager platform tracker maps into embedded structs, split internal/notifications/notifications.go into focused delivery/config/dispatch/SSRF files, and consolidate the four duplicated platform alert tables into canonical PlatformAlertsTable.

Contract-Neutral: Alert system internal cleanup: retire dead engine layers, fix config drift and callback/history bugs, split notifications monolith, and deduplicate platform alert tables without changing external API or governance contracts.
2026-11-22 13:43:48 +00:00
pulse-triage[bot]
a4b7679caf Bound notification CI destination reads and retain their failure
A partial or trickling loopback request could hold the non-daemon webhook reader through cleanup until the enclosing CI step was killed, losing the terminal receipt. Give each accepted connection a fixed absolute deadline, retain its first closed failure, and keep destination failure separate from successful teardown. Real-socket controls cover valid bytes, stalled headers/body, trickling input and malformed requests.

Contract-Neutral: Bound only the existing loopback notification CI fixture and its terminal evidence; no product notification, authentication, installer, release or frontend contract changes.
Change-source: pulse-maintainer
2026-11-01 14:50:35 +00:00
pulse-triage[bot]
b9c611d521 Run frontend unit and runtime proof as independent required jobs
Preserve the type/build/bundle admission, complete audit and every required result while allowing the four unit shards to overlap backend and native runtime checks. Bind the same validated frontend and embed bytes to this run, source and attempt with a separately verified SHA256 and constrained extraction. Exercise the actual transfer and fail-closed aggregate through the existing smoke and Go install-test commands.

Change-source: pulse-maintainer
2026-11-01 09:24:08 +00:00
pulse-triage[bot]
89a3381ffc Respect deployment telemetry lock in notification CI journey
Keep outbound telemetry disabled through the process environment, test the expected locked-field refusal, and save only the unrelated notification fields. Assert the lock on restart rather than attempting to persist it.

Contract-Neutral: Correct the CI-only synthetic journey and its controls; product settings, deployment restrictions, permissions and runtime contracts are unchanged.
Change-source: pulse-maintainer
2026-10-11 05:18:21 +01:00
pulse-triage[bot]
cbc387ab91 Check ordinary saved-policy notifications and restart in CI
Reuse the real-embed application to verify authenticated live startup, narrow destination admission, monitoring-only token scope, ordinary alert delivery, persisted sessions and saved policy across a real process restart. Keep source/binary identity, single-submission mutation rules and owned child/listener cleanup in a bounded receipt. This prevents component passes from hiding application-path regressions without another build or host capability.

Contract-Neutral: CI-only validation of existing authenticated notification and persistence behaviour; no product, permission, installer or release contract delta.
Change-source: pulse-maintainer
2026-10-11 05:12:08 +01:00