You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mariano/fix strip sslmode from connection string (#2439)
* fix: strip sslmode from DATABASE_URL to avoid conflict with explicit ssl option
PrismaPg receives both `sslmode=require` in the connection string and an
explicit `ssl` option. This double-SSL configuration can cause intermittent
connection failures on staging (ECS + RDS). Uses the URL API to safely
remove the sslmode param instead of the old buggy regex approach.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: exclude test files from tsc compilation in packages/db
The bun:test import in strip-ssl-mode.test.ts breaks the Docker build
which uses tsc (not bun) to compile packages/db.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove redundant prisma generate from Docker build
The @prisma/client is already generated by packages/db build step
(generate-prisma-client-js.js). The second prisma generate in the API
build step was redundant and failing with an empty error in Docker.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: update Trigger.dev extensions to copy entire schema directory
Both customPrismaExtension.ts files (api + app) now copy the full
multi-file schema directory instead of a single file. This ensures
prisma generate sees all model files, not just the generator/datasource.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: update Trigger.dev CI workflows for Prisma v7
- App workflows: run generate-prisma-client-js.js first to populate
@prisma/client before the app's prisma generate
- API workflows: remove redundant prisma generate (already done by
packages/db build step via generate-prisma-client-js.js)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments