Vincent
PPrisma
•Created by Vincent on 4/24/2025 in #help-and-questions
Upgrade from 6.0.1 -> 6.5.0 broke migrate dev
I recently upgraded from 6.0.1 to 6.5.0, and didn't change any migrations or schema files. But when I run
migrate reset
and then run migrate dev
I am now receiving an exit code of 130 whereas previously I could generate migrations without issue. This happens regardless of if I modify a schema file or not.
The output of the command looks like this:
The pg cron warning is something we have seen before, and I don't believe is related to the issue here, as we have been using the workaround described here for years without issue: https://github.com/prisma/prisma/issues/18214. But given the lack of any stack trace, its difficult to tell what is going wrong, as it just stops before doing anything at all. Here is 6.0.1 output:
7 replies
PPrisma
•Created by Vincent on 2/12/2025 in #help-and-questions
Silent and Stalled transaction
This is a strange one. I have a transaction running in a child process (worker). The transaction uses a temporary table to insert a bunch of ids to do an efficient join on a very large dataset. The code for this looks something like:
When I am running Prisma 6.0.1, I have no problems, the query runs just fine, no issues whatsoever. But if I upgrade to 6.1.0 or higher the worker stalls, and the query never completes. It is as if the transaction is failing silently. I have no errors in my logs, and my process analytics indicate the workers are still active, but no work is being completed.
I have spent a lot of time trying to figure out what could possibly be going on here. I don't have a small reproduction to share, as this is a large project I am working on. My current theory is that this has something to do with Alpine 3.20, Prisma 6.0.1, and transactions. I have tried changing telemetry packages, downgrading
@prisma/instrumentation
, and upgrading Alpine to no avail. Any advice or even outlandish ideas would be appreciated here
Thank you14 replies