Codex/privy 7702 gmx withdraw#35
Open
david30907d wants to merge 9 commits into
Open
Conversation
Prevent LateInitializationError: field 'client' has not been initialized when the app runs without SUPABASE_URL/SUPABASE_ANON_KEY dart-defines. Changes: - SupabaseService.client now returns null (instead of throwing) when Supabase.instance has not been initialized, via try-catch guard - EpisodeService, AuthService, and SupabaseLikesStore all gracefully handle a null client by returning empty results or throwing a clear AuthServiceException with 'Supabase not configured.' message Tests added (all 42 passing): - supabase_service_test.dart: new - verifies null client & isConfigured - episode_service_test.dart: 4 new cases for null client degradation - auth_service_test.dart: 1 new case for null client exception - likes_service_test.dart: 3 new cases for null client safety
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The build output files (index-BKk-xE2V.js at 1.87MB and core-2aInkfjF.js at 541kB) exceeded the previous 380KB limit, preventing them from being precached.
…ipts - Add hasCorruptedSecondaryScript() to detect scripts that are: - Empty/whitespace-only - Exceed 30k chars AND 4x the canonical script length - Contain runaway repeated phrases (same phrase 20+ times) - Regenerate corrupted scripts by re-translating from canonical - Wrap Google TTS failures with chunk diagnostics (voice, lang, bytes, chars, grpc code/details)
…and fix viem mock in WalletProvider zerodev.test.ts: replace stash-based setup with beforeEach/afterEach for cleaner teardown WalletProvider.test.tsx: use async importOriginal in viem mock to preserve other exports
Frontend: - Remove @zerodev/sdk dependency and zerodev.ts config - Add PrivyWalletService using Privy's atomic batch endpoint - Make walletClient optional in executeDepositPlan for Privy path - Add balance checks in useGmxDeposit before execution account-engine: - Add wallet execution routes and services for Privy integration - Add @privy-io/node dependency types: - Add privy-wallet.ts with Privy wallet API types podcast-pipeline: - Append classroom audio to main HLS instead of separate track
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
<1-2 sentences: what changed and why>
Changes
Test Plan
pnpm check:localpasses locallypnpm --filter @zapengine/frontend test:unit>Risk
<What could break? Include affected services and blast radius.>
Rollback
Checklist
CLAUDE.mdfiles.env.exampleif added env-var referencespnpm --filter @zapengine/analytics-engine test:strategy-snapshot:fastpnpm contracts:checkcovers the change