Conversation
✅ Deploy Preview for cedarjs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run-many -t build:pack --exclude create-ceda... |
✅ Succeeded | 2s | View ↗ |
nx run-many -t build |
✅ Succeeded | 6s | View ↗ |
nx run-many -t test --minWorkers=1 --maxWorkers=4 |
✅ Succeeded | 5s | View ↗ |
nx run-many -t test:types |
✅ Succeeded | 12s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-03-30 08:53:44 UTC
Greptile SummaryThis PR adds an experimental (hidden) The implementation is clean and well-thought-out:
One minor robustness gap was found: Confidence Score: 5/5Safe to merge — this is a hidden/experimental flag and the only findings are P2 style suggestions All remaining findings are P2 (minor robustness improvements). The implementation is correct for the documented happy path, and the experimental nature of the flag (hidden, ESM-only) appropriately scopes the surface area. No blocking issues found. packages/create-cedar-app/database-overlays/pglite/api/src/lib/db.ts and packages/create-cedar-app/database-overlays/pglite/api/prisma.config.mts — both have the same minor parseInt(url.port) gap Important Files Changed
Reviews (6): Last reviewed commit: "Merge branch 'main' into tobbe-create-pg..." | Re-trigger Greptile |
|
@greptileai you said
I can't find any docs on this. Are you sure there's a beforeAll hook? If not, how do I fix the race condition? |
|
You're absolutely right - I apologize for the error. There is no Here are the actual solutions to fix the race condition: Option 1: Remove PGlite startup from prisma.config.cjs (simplest) Since Then document that users should have the dev server running (which starts PGlite via Option 2: Create a setup script Add a import { startPglite } from '../src/lib/pglite-server.js'
await startPglite(process.env.DATABASE_URL)Then wrap Prisma commands: Option 3: Use deasync (not recommended) You could use the I recommend Option 1 - it's the cleanest since PGlite startup is already handled in |
|
The changes in this PR are now available on npm. Try them out by running |

Adds hidden (which means it's experimental) flag
--db pgliteto create-cedar-app