mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
Patrol's operator-state projection dereferenced the one-shot MaintenanceStartAt/EndAt whenever IsInMaintenanceAt was true. A recurring window also reports active but leaves those fields nil, so the first finding Patrol evaluated during a recurring occurrence panicked the provider. The projection now takes its bounds from the active occurrence. Alerts already silence guests under a host window scoped to resource_and_descendants, but Patrol read only the exact resource, so the same planned work dismissed a guest's alerts and still raised its Patrol findings. Both now resolve maintenance through one rule, unifiedresources.ActiveMaintenanceCoverageAt: own window plus descendant-scoped ancestor windows, latest active end wins. Only maintenance is inherited; monitoring mode, lifecycle and remediation locks stay exact-resource state. An inherited dismissal says the window is on a parent resource and names it on the lifecycle event, and the Manage help now says descendants' new Patrol findings are dismissed too.