Fix: resolve environment parity, router lazy loading, API types, and test teardown - #706
Merged
devJaja merged 5 commits intoSep 30, 2026
Conversation
|
@dorismaduegbunam is attempting to deploy a commit to the Jaja's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@dorismaduegbunam Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
Kindly resolve the conflicts |
7 tasks
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.
PR Description
Closes #573
Closes #575
Closes #576
Closes #574
Summary of Changes
Issue #573 — Config Parity & Direct
process.envRemovalbackend/src/config/index.tsZodenvSchemato validate all missing environment variables (RATE_LIMIT_PUBLIC_*,RATE_LIMIT_AUTHED_*,RATE_LIMIT_ADMIN_*,VENICE_MODEL_VERSION,VENICE_CACHE_*,VENICE_REQUEST_TIMEOUT_MS,VENICE_PROVIDER_MAX_RETRIES,VENICE_FALLBACK_*,QUALITY_*,AI_NET_READ_ONLY*,ADMIN_*,FEATURE_*).backend/.env.exampleto achieve 100% two-way key parity withenvSchema. Removed duplicate keys (DATABASE_URL,DAILY_TASK_LIMIT_PER_WALLET), removed legacy PostgreSQL documentation references, and documentedDB_POOL_*SQLite WAL read pool parameters.process.envreads across feature modules (agents.ts,auth.ts,errorHandler.ts,rateLimit.ts,tasks.ts,v1/tasks.ts,v2/tasks.ts,versions.ts,cache/registry.ts,db/index.ts,loader.ts,schemas/task.ts,adminControl.ts,tokenService.ts,featureFlags.ts,idempotency.ts,qualityScorer.ts,venice/client.ts) to usegetConfig().backend/tests/config.test.tsand process env assertion guard inbackend/tests/no-direct-process-env.test.ts.Issue #575 — Frontend Route Imports & Suspense Fallback
frontend/src/App.tsx(./pages/dashboard,./pages/WalletPage,./pages/AgentsPage,./pages/tasks/NewTaskPage,./pages/tasks/TaskHistoryPage,./pages/TaskDetailPage,./pages/RendererDemoPage) to ensure default export compatibility.<Suspense fallback={<RouteLoader />}>.frontend/src/components/auth/ProtectedRoute.test.tsxto verify/tasks/history.Issue #576 — TaskDetailPage Cleanup & API Type Consolidation
reactflowimports fromfrontend/src/pages/TaskDetailPage.tsxwhile preserving component rendering.frontend/src/types/api.ts(DAGNode/DagNodeunified,CursorPage/CursorPageEnvelopeconsolidated).frontend/src/pages/TaskDetailPage.test.tsx.Issue #574 — Backend Coverage Exclusions & Teardown Cleanup
!src/**/index.ts,!src/registry/sync.ts,!src/api/routes/stream.ts,!src/index.ts,!src/checkSpec.ts) frombackend/jest.config.js.backend/tests/globalTeardown.ts, retainingbackend/tests/global-teardown.ts.