Add live poker tables with Cloudflare Durable Objects - #10
Open
ataymo1 wants to merge 35 commits into
Open
Conversation
…ce action handling with new street action types
# Conflicts: # src/features/live-poker/live-poker-table-client.tsx
# Conflicts: # convex/_generated/api.d.ts # package.json # pnpm-lock.yaml # src/components/stats/earnings-over-time-chart.tsx
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
mainchanges for player claims and PokerNow importsAbuse and zero-cost safeguards
pnpm deploy:worker, which verifies the dedicated account allowlist and every page of Cloudflare account subscriptions using a Billing Read token before deployingCloudflare must remain a dedicated Workers Free account. Free-quota exhaustion can cause downtime but should not create Workers overage charges. The guard cannot prevent a later dashboard upgrade or eliminate legal/account-policy risks associated with real-money wagering. Vercel and Convex must independently remain on their free plans for the whole system to stay at $0.
Deployment
See
DEPLOYMENT.mdfor the Vercel, Convex, and Cloudflare environment matrix, deployment order, emergency stop, secret separation, and guarded Worker deployment. The Vercel app talks to the separately deployed Worker over HTTPS/WSS; Vercel does not need a Durable Object binding.Verification
pnpm run type-checkpnpm buildpnpm run test:live-poker(37 passed)git diff --checkpnpm exec wrangler deploy --dry-run