-
Notifications
You must be signed in to change notification settings - Fork 24
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
(Serverless initiative): test Prisma error messages in unsupported systems #3332
Comments
This is probably not something that should be run with every version. But it totally makes sense as a manual thing we can run. |
Folks, can we fix the milestone on this issue please. 4.9.0 has already sailed. |
Note: we tried assertions in prisma/prisma#17762, but they didn't make it to the release due to bundling issues with |
Prisma may throw a number of different error messages when loading the Prisma Engines fails. Although we already attempt to provide meaningful user-facing explanations of what went wrong, we should strive to be more precise.
We should thus add some ecosystem-tests that try to install and run Prisma on scenarios where we know it would fail.
Relevant unsupported systems we should test the new conditional error messages on:
arm64
arch (onlyx86_64
is supported for Linux Alpine, see Precompiled engine files foraarch64-unknown-linux-musl
target (Alpine Linux on ARM, e.g. M1) prisma#8478)libz.so.1
(see this comment)libssl
version installed (see this comment)x86_64
arch withbinaryTargets: ["linux-musl"]
(it shipsopenssl-3.0.x
, but will try to dynamically loadopenssl-1.1.x
, see Support OpenSSL 3.0 for Alpine Linux prisma#16553)Assert failures causes by Prisma not being able to load its engines.The text was updated successfully, but these errors were encountered: