Skip to content

pnpm --filter @prisma/cli test uses whatever engine build is on disk, so engine edits can pass untested #295

Description

@wmadden-electric

packages/cli/package.json runs pnpm run build && vitest run, which builds the CLI but not the engine. The engine's exports point at ./dist, and packages/cli/vitest.config.ts has no alias to the engine's source. After an engine edit without an engine rebuild, the CLI suite tests the old engine and can pass.

Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out:

- **`pnpm --filter @prisma/cli test` can report green against a stale

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions