mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
The generated client bakes absolute query engine paths at build time, and prisma-python scans them before it reads PRISMA_QUERY_ENGINE_BINARY. That scan propagates EACCES rather than skipping a candidate, so a path baked under the build user's HOME crashes client startup with a bare PermissionError for every other uid, and the documented override cannot recover from it. Assert in the runtime stage that every baked query engine path sits under the fixed, world-readable /opt/prisma bake, so a regression in the generate step breaks the build instead of shipping an image that only starts under the uid that built it. Adds an image-level test that runs the same resolution as an arbitrary non-root uid. |
||
|---|---|---|
| .. | ||
| test_db_schema_migration.py | ||
| test_offline_image_migration.py | ||
| test_prisma_toolchain.py | ||
| test_replica_identity_full.py | ||