UptimeFlare/scripts
Konrad Fröhlich 18d5ff7fe4
ci(deploy): refuse to publish an empty or truncated page build (#18)
`wrangler pages deploy .vercel/output/static` replaces the whole live
site, and nothing between the build and that upload ever looked inside
the directory. next-on-pages is fail-closed against its own crash, not
against exiting 0 with an empty or half-written output — that would have
been published as-is and blanked status.openshopgraph.org through a
fully green run. A status page that is silently empty is the one outage
nothing else here reports.

scripts/verify-pages-output.sh asserts the worker entrypoint, the routes
manifest, at least one client chunk, and a floor of 20 files (a correct
build of main measures 49). deploy.yml runs it directly after the build,
so a broken build stops the job before `terraform apply` — production is
never touched.

Co-authored-by: OSG Agent <agent@openshopgraph.org>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 17:56:55 +02:00
..
check-incidents-datapath.ts fix(status): /incidents showed 'no incidents' while 14 were recorded (+ mobile header, multi-region prep) (#10) 2026-07-31 00:29:27 +02:00
check-probe-drift.ts feat(status): detect when a check region silently stops answering 2026-07-31 02:30:12 +02:00
verify-pages-output.sh ci(deploy): refuse to publish an empty or truncated page build (#18) 2026-07-31 17:56:55 +02:00