chore(webapp): prevent db:seed script hang (#3962)

Currently the `db:seed` script just hangs on success.

This PR adds `process.exit(0)` to the finally block after db disconnect
so the script exits properly.

---------

Co-authored-by: Chris Arderne <chris@trigger.dev>
This commit is contained in:
Chris Arderne
2026-06-16 11:45:00 +01:00
committed by GitHub
parent 38f280406d
commit 19c0763a1e
2 changed files with 7 additions and 0 deletions
@@ -0,0 +1,6 @@
---
area: webapp
type: fix
---
Exit db:seed script on success to prevent hanging.
+1
View File
@@ -168,6 +168,7 @@ seed()
})
.finally(async () => {
await prisma.$disconnect();
process.exit(0);
});
async function findOrCreateOrganization(