Repository navigation
Static uptime probe at /ratchet - #95
Merged
Merged
Conversation
Blackbox probes the homepage every couple of minutes, and each probe renders the page in the Worker; that rhythm tripped the Workers Free plan's 10 ms CPU limit. A static file is answered before the Worker runs, so it costs nothing. public/_headers types it, keeps it uncached so each probe reaches the asset store, and hides it from search. The test checks the built bundle. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Blackbox at the house has probed this site's homepage every couple of minutes since 2 November. Each probe renders the page in the Worker (13 to 28 ms of CPU), and that steady rhythm is what tripped the Workers Free plan's 10 ms limit (error 1102, served as 503) on org.orbari.app and fxcss.com. Real visitors never did; the per-day termination count was zero on every site before the probing started.
No asset path is common to all five vinext sites, and a probe for a path that does not exist falls through to the Worker's full page render, so this adds one by construction.
What
public/ratchetanswersclank(a PlayStation call-and-response in place of ping/pong). A static file is served before the Worker runs, so a probe costs no CPU.public/_headerstypes ittext/plain; charset=utf-8, keeps it uncached (no-cache, max-age=0, must-revalidate) so every probe reaches the asset store rather than an edge cache, and marks itnoindex.After merge
just deploy, or the Deploy workflow); the merge alone does not publish it.https://fxcss.com/ratchetand expect bodyclank. Keep a homepage probe only at a long interval (15 min) if you want a render check.just checkpasses locally on Node 26.10.🤖 Generated with Claude Code