prisma deploy has no real-API end-to-end test through the shipped binary

Offen
#311 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

Start in packages/cli/tests/e2e-coverage.test.ts and inspect how deploy is excluded and how the shipped prisma binary is invoked. Use PRISMA_E2E_SERVICE_TOKEN for authentication and compare with Composer's real-cloud test. Done means an end-to-end test runs prisma deploy against the real API through the shipped binary and verifies the credential handoff.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

deploy is in the EXCLUSIONS list of packages/cli/tests/e2e-coverage.test.ts. Composer's own real-cloud test runs the standalone prisma-composer deploy, not the prisma binary. Add an e2e test that runs prisma deploy from the shipped binary against the real API, authenticated with a service token (PRISMA_E2E_SERVICE_TOKEN), so the credential handoff from the prisma binary to Composer's deploy is tested end to end.

From the prisma-cli-v8 close-out: this replaces acceptance criterion 5 (auth login through to a Composer deploy, e2e), whose interactive-login half cannot run in CI.

🤖 Generated with Claude Code

Vorherrschende Sprache
TypeScript
Sterne
25
Forks
4
Ø Merge
18 Std. 22 Min.
Gemergte PRs (30 T.)
34

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus prisma/prisma-cli

Alle Issues in prisma/prisma-cli

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.