The 22 ORM commands have no end-to-end test through the shipped prisma binary

Abierto
#310 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
postgresql, typescript

Línea de trabajo

Start with packages/cli/tests/e2e-coverage.test.ts and orm-mount.test.ts, then inspect how the shipped prisma binary is run against local Postgres. Add happy-path end-to-end coverage for the 22 excluded ORM commands and remove ORM_FAMILY_REASON exclusions. Done means the assembled binary exercises those commands successfully, rather than only direct ORM calls.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

packages/cli/tests/e2e-coverage.test.ts excuses all 22 ORM commands (contract *, db *, migration *, ...) with ORM_FAMILY_REASON: "no management API involved. Real e2e lives in prisma/prisma". That reasoning was rejected on 2026-08-13: the ORM repository's suite passed throughout while the assembled prisma binary exited 2 on ORM commands, because those tests call the commands directly, not through the binary. orm-mount.test.ts covers only migration list.

Write happy-path e2e tests that run the shipped prisma binary against a local Postgres, and remove the 22 exclusions.

Recorded in the prisma-cli-v8 project ledger, which is being deleted at close-out: https://github.com/prisma/prisma-cli/blob/4356b361adf7044bae59aa0bc70340eda89fdad6/.drive/projects/prisma-cli-v8/deferred.md#L120

🤖 Generated with Claude Code

Lenguaje dominante
TypeScript
Estrellas
25
Forks
4
Merge medio
18 h 22 min
PR fusionados (30 d)
34

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de prisma/prisma-cli

Todos los issues de prisma/prisma-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.