Commit 64e7e0a
[dev] [Marfuen] mariano/fix-strip-sslmode-from-connection-string (#2436)
* 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>
---------
Co-authored-by: Mariano Fuentes <marfuen98@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 335dcd2 commit 64e7e0a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
0 commit comments