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

Open
#311 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
TypeScript
Stars
26
Forks
4
Avg merge
12h 11m
Merged PRs (30d)
38

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prisma/prisma-cli

All issues in prisma/prisma-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.