Repository navigation
Restore complete console TypeScript validation - #902
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
69fcd34 to
81bcfed
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
The console could previously ship while TypeScript reported thirteen errors. This refactor restores full build-time validation, expresses the minimal identity supplied by the lazy Privy bridge, updates the installed SDK/config contracts, and makes provider test fixtures reflect the actual wire model. Payout tests now wait for the existing withdrawal initialization guard.
The minimal identity contract removes consumer assertions while preserving the lazy SDK boundary. Wallet creation remains off using the installed SDK's per-chain options. Provider fixtures expose partial nested overrides only where their builder supplies the defaults; removed per-machine earnings fields are not added back to the wire schema. Existing account/Stripe route refactors in #899 are separate.
Before
After
Validation on Node 22.23.2 and committed dependencies: full
npm run typecheck, Next 16.2.11 production build including type validation, lint (existing warnings only), and 694 tests across 88 files pass. The original master had 13 TypeScript errors; none remain. No dependency upgrades or provider/coordinator schema changes.Three payout-test setup corrections are identical to #899; they enable the existing recovery-gated flow before checking results. The 36 additional adapter tests in #899 are not part of this master-based PR, explaining its different test count.