feat(web): add /cloud so rate-limit responses stop pointing at a 404 - #1001
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Aug 8, 2026
determined-001
force-pushed
the
fix/watcher-refcount
branch
from
August 10, 2026 00:22
07984b3 to
39117e0
Compare
`DEMO_LIMITS.upgradeUrl` is "/cloud", which did not exist. Every 429 from the four rate-limited endpoints carried that URL in its body, and three components rendered it as a live link — demo/contracts/page.tsx, WebhookDemo.tsx, and LiveDemo.tsx. So the one moment a visitor was most interested in the product sent them to a dead page. The page does not pretend Cloud is purchasable. Nothing is hosted yet, and a signup form backed by nothing would be worse than the 404 it replaces. It says so plainly, then does the useful thing: explains that the caps are sandbox limits protecting a funded testnet account rather than properties of the library, and points at self-hosting, which has none of them. Limit values are read from DEMO_LIMITS rather than retyped, so the page cannot drift from the limits actually enforced.
determined-001
force-pushed
the
feat/cloud-page
branch
from
August 10, 2026 00:25
5c74234 to
5378d54
Compare
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.
The bug
DEMO_LIMITS.upgradeUrlis"/cloud"— which did not exist.Every 429 from the four rate-limited endpoints carried that URL in its body, and three components rendered it as a live link:
app/demo/contracts/page.tsx:459components/WebhookDemo.tsx:214components/LiveDemo.tsx:341So the one moment a visitor was most interested in the product sent them to a dead page.
The approach
The page does not pretend Cloud is purchasable. Nothing is hosted yet, and a signup form backed by nothing would be worse than the 404 it replaces. It says so plainly, then does the useful thing:
Limit values are read from
DEMO_LIMITSrather than retyped, so the page cannot drift from the limits actually enforced.Note for the wave-entry snapshot
This is also pre-entry hygiene. A live surface with a dead CTA at judging time is the exact pattern that cost another project a full band.
/cloudnow returns 200.