Skip to content

Static uptime probe at /offgrid - #22

Merged
AdamXweb merged 1 commit into
mainfrom
feat/offgrid-probe
Nov 6, 2026
Merged

AdamXweb merged 1 commit into
mainfrom
feat/offgrid-probe

Conversation

@adamXbot

@adamXbot adamXbot commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Why

Blackbox at the house checks each privacykey site every minute. This repo deploys a static-assets Worker with no Worker script, so a homepage probe costs no CPU here. That's different from the vinext sites, which hit the Free plan's CPU limit on 3 Nov.

The probe changes what the check proves. A homepage check passes on any 200, even a parked page or a stand-in. A small file with a fixed body is a target that stays the same, and a body match proves this site answered.

What

  • offgrid answers runner. It's a Mirror's Edge nod (runners carry messages off the grid), and the same call-and-response idea as /ratchet → clank on the vinext sites.
  • _headers serves it as text/plain; charset=utf-8, uncached (no-cache, max-age=0, must-revalidate) so every probe reaches the asset store, and noindex.
  • npm run build copies it into dist/ next to _headers, so the deploy doesn't depend on mint export happening to carry an extensionless file.

After merge

Workers Builds deploys on every push to main. Once https://docs.mantis.privacykey.org/offgrid answers runner, infra's web.yml switches this site's Blackbox check from the homepage to /offgrid (that change is ready there, not yet deployed).

node scripts/check-docs.mjs and node scripts/build-llms.mjs --check pass. The build line is the same as docs-privacytracker's, where npm run build was run and puts offgrid into dist/.

🤖 Generated with Claude Code

offgrid answers "runner", typed text/plain, uncached and noindex by
_headers, so Blackbox can match a fixed body instead of the homepage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
docs-mantis db33849 Nov 06 2026, 11:04 AM

@AdamXweb
AdamXweb merged commit 4b6b9ff into main Nov 6, 2026
3 checks passed
@AdamXweb
AdamXweb deleted the feat/offgrid-probe branch November 6, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants