feat: add oracle durability, priority queue tests, e2e tests, and geo…#903
Open
Prz-droid wants to merge 1 commit into
Open
feat: add oracle durability, priority queue tests, e2e tests, and geo…#903Prz-droid wants to merge 1 commit into
Prz-droid wants to merge 1 commit into
Conversation
…-blocking config Task 1: Oracle Job State Durability - Add oracle_jobs table migration with durable job state tracking - Create OracleJobsService for persistent job state via Supabase - Add automatic recovery of IN_PROGRESS jobs on oracle startup - Jobs survive process crashes and rolling deploys Task 2: Priority Queue Integration Tests - Add priority-queue.integration.spec.ts with concurrent job submission tests - Verify HIGH priority jobs processed before MEDIUM/LOW - Validate FIFO ordering within same priority tier - Test high-volume concurrent submissions (50 jobs) Task 3: E2E Buy Ticket Test - Add buy-ticket.spec.ts covering full happy path - Navigate home → click raffle → view details → connect wallet → purchase - Verify ticket price and count displayed - Assert success toast appears on purchase completion - Test wallet connection flow and error handling Task 4: Geo-Blocking Configuration - Move BLOCKED_COUNTRIES to GEO_BLOCK_COUNTRIES env var - Parse and validate in env.config.ts with parseBlockedCountries helper - Inject ConfigService into GeoBlockingMiddleware (no longer uses env directly) - Update .env.example with documentation - Update middleware tests to use ConfigService mocks - Enables changing blocked countries via env var without redeploying code
|
Someone is attempting to deploy a commit to the otaiki1's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
Please fix all conflicts |
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.
close #786
close #781
close #807
close #806