prisma / ecosystem-tests

🥼🧬🧪🔬🧫🦠 - Continuously tests Prisma Client with various operating systems, frameworks, platforms, databases and more.
193 stars 24 forks source link

(Serverless initiative): test Prisma error messages in unsupported systems #3332

Open jkomyno opened 1 year ago

jkomyno commented 1 year ago

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:

janpio commented 1 year ago

This is probably not something that should be run with every version. But it totally makes sense as a manual thing we can run.

mcbethio commented 1 year ago

Folks, can we fix the milestone on this issue please. 4.9.0 has already sailed.

jkomyno commented 1 year ago

Note: we tried assertions in https://github.com/prisma/prisma/pull/17762, but they didn't make it to the release due to bundling issues with jest.spyOn. We did manual testing using the setup from ecosystem-tests / docker on an integration release for the time being.