UptimeFlare/types
Test User c080da7bc8 feat(status): detect when a check region silently stops answering
checkProxyFallback: true is correct — a probe outage must not be published
as a service outage. But it makes the probe outage itself invisible:
monitor.ts:399-410 falls back to a local re-check, checkLocation keeps the
local colo, and nothing anywhere says the configured region has stopped
answering. A Durable Object that never comes back degrades a two-region
page to a one-region page in total silence.

Adds the missing comparison: configured region vs. the region the run
actually came from, persisted as state.probeOkAt (a timestamp, not a run
counter — the state is only written on change or after the write cooldown).
After 15 consecutive runs from outside the configured region the worker logs
every run and notifies once; once more on recovery. Nothing new on the public
page: "our probe moved" is an operations fact, not user-relevant status.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 02:30:12 +02:00
..
config.ts feat(status): detect when a check region silently stops answering 2026-07-31 02:30:12 +02:00