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>
* fix(incidents): /incidents never received the incident data (P0 false statement)
/incidents got pageProps = [monitors] (2910 B) while / got
[compactedStateStr, monitors] (13119 B). The page therefore rendered only
the hand-written `maintenances` array from uptime.config.ts and, that being
empty, printed "No incidents in this month" — next to a 99.95 % uptime
figure computed from the very outages it was hiding.
Measured against the live state of 2026-07-30 16:45 UTC: 14 recorded
incidents in 2026-07 (8x api_health, 6x mcp), one of them still OPEN
(mcp, "Expected codes: [200,401,405,406], Got: 400"). The page showed zero.
Both halves are fixed, because only fixing the data path would turn the
next load failure back into a silent false statement:
- getServerSideProps now reads `state` from the store, like pages/index.tsx
does, and the page derives incidents from it (util/incidents.ts).
Exposure is unchanged: compactedStateStr is already public on /, and the
monitor list stays limited to id+name (see 377a596).
- NoIncidents gained a `noData` variant, so "we could not look" (no monitor
state at all) no longer renders as "there were no incidents".
Details of the derivation:
- reads the compacted columns directly instead of uncompact(), which would
also decode the much larger latency series this page never renders;
- counts an incident for a month when it OVERLAPS it, so an outage across a
month boundary or a still-open one cannot vanish from the current month;
- skips the worker's zero-length 'dummy' seed record (worker/src/index.ts:51),
which stores the monitoring start time and is not an outage;
- keeps history of monitors that were removed from the config, under their
raw id — silently dropping records is the failure being fixed here.
scripts/check-incidents-datapath.ts reproduces the red/green against a real
captured state:
npx tsx scripts/check-incidents-datapath.ts live-state.json 2026-07
-> incidents rendered: 14 (structurally 0 before this change)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* fix(header): mobile nav overflowed the 56px header and the 360px viewport
Measured on the live page with Chromium:
390px nav group Rect -4.5 .. 60.5 (65px tall) against header 0 .. 56
-> "Incidents" clipped top and bottom
360px document scrollWidth 371 vs clientWidth 360 -> 11px page overflow
One cause for both. The mobile nav renders `link.highlight ||
link.link.startsWith('/')`, which includes the 150px "openshopgraph.org"
entry — whose href is byte-identical to the href of the wordmark on the left
(verified in the DOM: brand href === link href). Wordmark plus two links does
not fit at 360-390px, so the Group wrapped to two 30px rows plus a 5px gap =
65px of content in a header with a *fixed* 56px height, which cannot contain
it and therefore clips it.
- Header.tsx drops nav links that point where the wordmark already points.
The link is not lost; it is the wordmark.
- Header.module.css uses min-height instead of height on .header/.inner, so
the next long label makes the header grow instead of silently cutting its
content off. The Group keeps its default wrapping on purpose: contained
vertical growth beats horizontal page overflow.
Re-measured on the live DOM with exactly this combination applied:
360px overflow 0px, nav 13 .. 43 inside header 0 .. 57
390px overflow 0px, nav 13 .. 43 inside header 0 .. 57
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* chore(config): prepare multi-region checks, deliberately left disabled
Requested as "prepare, do not roll out", so this commit adds no active
monitor: only a documented, commented-out block in uptime.config.ts.
Correcting the finding while preparing it: the single vantage point is real,
but it is not Frankfurt. Decoded from the live state of 2026-07-30, all 435
latency samples (145 per monitor, the 12h window) carry loc "LHR" — London.
No monitor sets `checkProxy`, so checks run in whichever colo the cron worker
happens to be scheduled in.
Also correcting the shape of the work: `checkProxy` is one value per monitor,
not a list (worker/src/monitor.ts:361-400). Multiple regions therefore mean
one monitor entry per region — still configuration, but it multiplies the
checks per minute and adds a row to the public page for each region, which is
why this is an owner decision rather than a switch to flip.
The block records the two transports ('worker://<DurableObjectLocationHint>'
and 'globalping://') and the one trap worth knowing before enabling: without
`checkProxyFallback: true` a failing probe is stored as up:false with
"Unknown check proxy error", i.e. a probe outage gets published as a service
outage.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>