Skip to content

Commit 64e7e0a

Browse files
github-actions[bot]Marfuenclaude
authored
[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

File tree

packages/db/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
"declarationMap": true
2020
},
2121
"include": ["src"],
22-
"exclude": ["node_modules", "dist", "src/generated"]
22+
"exclude": ["node_modules", "dist", "src/generated", "src/**/*.test.ts"]
2323
}

0 commit comments

Comments
 (0)