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>
* Add basic webhook option to workerConfig.notification as alternative to apprise
* Add uptime.config.ts example for webhook option
* Removed trailing commas from newly added types for consistency
* Add ability to customize webhook body
* use template
---------
Co-authored-by: lyc8503 <me@lyc8503.net>
* Updated with intial commit
- MaintenanceAlert.tsx now handles upcoming and active maintenance alerts.
- OverallStatus.tsx updated to include collapsible sections for ongoing and upcoming maintenance alerts.
* Updated MaintenanceAlert layout for better responsiveness
* Revert the uptime.config.ts
* fix: Added type definitions for active and upcoming maintenances
* Update components/MaintenanceAlert.tsx
Co-authored-by: Bennet Gallein <me@bennetgallein.de>
* Update: added `pageConfig.maintenances.upcomingColor` to control upcoming maintenance alert colors.
* Feature: Added a config option for the favicon.
* keep original styles
* remove collapse
* add back a different collapse for upcoming events
* css grid to align date text
* tiny css changes and cleanup
---------
Co-authored-by: Bennet Gallein <me@bennetgallein.de>
Co-authored-by: lyc8503 <me@lyc8503.net>
* fix: allow partial callbacks in config types
* fix: allow non-async callback functions in config types
* fix: specify type of monitor argument in callback type
* fix: use generics type for env argument in callback type
* feat: move types
* feat: add maintenance alert
* feat: move to config/base class to have fallback values on missing exports
* fix: wrong import for types
* Revert "fix: wrong import for types"
This reverts commit ca2b2e3a68.
* Revert "feat: move to config/base class to have fallback values on missing exports"
This reverts commit 9932ea2590.
* fix: imports
* chore: formatting
* fix: handle filtering for global status
* fix: pass props
* fix: ignore active maintenances when sending notifications
* fix: mark as warning when monitor is in maintenance
* fix: title width & warning icon
* fix: remove accordeons again
* alert config/style changes, worker code improve
* update example config
* update example config
* set monitors to be optional
---------
Co-authored-by: lyc8503 <me@lyc8503.net>