UptimeFlare/.github
Test User 3d05dfa81d fix(status): merge alert channel, probe-drift detection and least-privilege CI
Three independently developed changes, merged and re-verified rather than
taken on trust.

1) Alert channel (Pushover, worker/src/pushover.ts). The fork's only built-in
   channel reads its credentials from the committed config, which is unusable
   in a PUBLIC repo, so outages notified nobody. Sent as a second channel from
   inside formatAndNotify, so skipNotificationIds, maintenance windows and
   gracePeriod gate it exactly as they gated the webhook. Fail-closed AND loud:
   without the secrets every dropped alert logs [ALERT-CHANNEL-BROKEN].

2) Probe drift (worker/src/probe.ts). checkProxyFallback silently degrades a
   two-region page to a one-region page: the fallback keeps checkLocation at
   the local colo, up stays true, nothing is reported. doMonitor now returns
   fromConfiguredRegion and a finding is raised after 15 runs without an answer
   from the configured region.

3) Least privilege (.github/workflows/deploy.yml). The job carries
   CLOUDFLARE_API_TOKEN and runs terraform apply while its GITHUB_TOKEN scope
   was inherited from a repo setting. Pinned to contents: read, top-level.

MERGE RESOLUTION — the only real conflict was semantic, not textual: (2) could
only send its finding over notification.webhook, and (1) establishes that this
webhook stays unset for good because its credentials would have to be
committed. Combined unchanged, the drift finding would have reached nobody. The
finding is therefore sent over the same Pushover channel, but labelled as
neither UP nor DOWN and at normal priority — a moved vantage point is an
operations fact, not a user-visible outage, and must not bypass quiet hours.

No user-visible change to the public status page.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 02:53:33 +02:00
..
workflows fix(status): merge alert channel, probe-drift detection and least-privilege CI 2026-07-31 02:53:33 +02:00
FUNDING.yml chore: update FUNDING to ko-fi 2026-06-01 23:10:21 +08:00