New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(client): Errors are obfuscated by interactive transactions gh-12862 #15602
Conversation
The best way to integrate and test an engines fix for this is to use the
"repository": {
"type": "git",
"url": "https://github.com/prisma/prisma.git",
"directory": "packages/fetch-engine"
},
"bugs": "https://github.com/prisma/prisma/issues",
+ "enginesOverride": {
+ "folder": "/Users/danielstarns/code/clones/prisma-engines/target/release"
+ },
"devDependencies": { You can then build your rust branch that contains the fix, and do an Finally, you can now run the test suite that is in this branch.
You should expect one test to fail until the fix is applied to engines. Current:
Expected
|
This issue is in the BinaryEngine in the client. On this line here: We will retry a failed operation. This leads to the interactive transaction returning a different unexpected error than the actual error that caused the problem. I'm not sure why we retry operations in the binary engine. I think this is a bad idea and we should not retry at all. |
Waiting for merge of #15684 |
Merged into #15684 |
Closes: #12862