Skip to content

Static uptime probe at /offgrid - #16

Open
adamXbot wants to merge 1 commit into
mainfrom
feat/offgrid-probe
Open

adamXbot wants to merge 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

docs.privacycommand.privacykey.org had no DNS on 6 Nov 2026, so Blackbox doesn't watch it yet. With the file already here, adding the site to infra's web.yml is the only step left once it's on its custom domain.

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-privacycommand 25ba528 Nov 06 2026, 11:05 AM

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.

1 participant