Show what Uptime Kuma reported for each maintenance window in the sync result

Each window in the "Sync schedule" result now lists how many monitors it
covers and the time slots Kuma sent for it, so an empty result can be traced
to missing monitors, missing slots or monitors that match no server.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-12 00:04:46 +02:00
1 parent 9e483f2163
commit 27a191b54c
3 files changed
+13

No files matched your search

@@ -101,6 +101,9 @@ export interface MaintenanceSyncSummary {
title: string;
strategy: string;
status: string;
/** How many monitors the window covers in Uptime Kuma, and the time slots Kuma reported for it (running and next). */
monitorCount: number;
slots: { start: string; end: string }[];
/** Windows that apply here, by server name. */
servers: string[];
/** Monitors the window covers that match no server. */
@@ -167,6 +170,8 @@ export function desiredWindows(
title: m.title,
strategy: m.strategy,
status: m.status,
monitorCount: m.monitorIds.length,
slots: m.timeslots.slice(0, 3),
servers: [...matched.values()].sort(),
unmatched,
note,