fix(engine): apply convergence + push/group check history #114
Reference in New Issue
Block a user
Delete Branch "fix/apply-convergence"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two engine correctness fixes from the review-findings backlog.
1. Poll loop fully converges with DB
Previously the poll loop only added new sites —
uptop applyconfig edits were silently ignored until restart, and pruned sites kept being checked and alerting. Now:SiteConfig != cfgcomparison, refreshed viaUpdateSiteConfigRemoveSite2. Push + group monitors record check history
RecordHeartbeatnow callsrecordCheck— push monitors get check_history rows, sparklines, and uptime %checkGrouprecords a synthetic check per evaluation — groups get uptime history instead of blank displaysTest plan
go test -count=1 ./...— all passgolangci-lint— 0 issues