Prepare three-Worker Cloudflare staging deployment - #26
Draft
gilbertsahumada wants to merge 33 commits into
Draft
gilbertsahumada wants to merge 33 commits into
gilbertsahumada wants to merge 33 commits into
Conversation
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 web now builds with OpenNext for Cloudflare Workers and delegates business requests to the Hono API through a Service Binding. A separate Queue/Cron Worker runs the shared research runtime. The backend Workers have no public HTTP route, and initial deployments keep admissions closed.
This is the third sequential PR, based on #25 (which depends on #24 and #23). It preserves the public frontend design while correcting signup/demo text that implied wallet creation or automatic betting. It adds deployment configuration, CI Worker builds, topology checks, local Supabase product-schema configuration, and staging/rollback instructions. Each file has its own commit.
Validation:
This PR remains draft because remote acceptance is incomplete. Dedicated Supabase staging access is not available yet; Hyperdrive IDs remain explicit local-build placeholders. No staging URL or remote deployment is claimed. Before ready-for-review: provision dedicated resources, verify cache-disabled Hyperdrive, configure secrets and HTTPS auth, deploy from an identified commit, and complete the capped two manual plus one scheduled research acceptance. See docs/cloudflare-staging.md and docs/cloudflare-local-validation.md.
No automatic merge, production deployment, legacy Durable Object deletion, or PR #22 trading integration.