Skip to content

The conformance check no longer excuses families that require engine 0.10.0 - #403

Merged
wmadden-electric merged 1 commit into
mainfrom
remove-engine-pin-exceptions
Nov 23, 2026
Merged

wmadden-electric merged 1 commit into
mainfrom
remove-engine-pin-exceptions

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

packages/cli/scripts/conformance.ts now passes no recorded exceptions to the tarball check:

-      exceptions: [
-        { familyPackage: "@prisma/composer-cli", familyPin: "0.10.0", shellPin: "0.10.4", channel: "dev", ... },
-        { familyPackage: "@prisma/orm-toolchain", familyPin: "0.10.0", shellPin: "0.10.4", channel: "dev", ... },
-      ],
+      exceptions: [],

What this does

The conformance check fails when a command-family package requires a different @prisma/cli-engine than the CLI ships. Two exceptions excused that mismatch for dev builds only, while Composer and the ORM still required engine 0.10.0 and the CLI shipped 0.10.4. This removes both, so the same mismatch fails the check again if it returns.

Why now

Each exception's own removeWhen condition is met:

What does not change

The exception mechanism in packages/cli-conformance and its tests stay. docs/architecture/adrs/0004-engine-version-pinning.md says the pull request that pins the products' new releases removes the exceptions. That pull request was #402, an automatic release that only moves versions, so this follow-up does the removal, as each exception's removeWhen text expected. The decision record is not changed here. No release: this changes a check script only, not a published package or a version.

Verification

pnpm typecheck passes. The Test check on this pull request runs pnpm check:conformance on the dev channel with no exception available.

Agent: pachacuti-59

🤖 Generated with Claude Code

…ts require engine 0.10.4

The exceptions let dev builds ship @prisma/composer-cli and @prisma/orm-toolchain while they required @prisma/cli-engine 0.10.0 and the CLI shipped 0.10.4. Their removal condition is met: the CLI now pins Composer 0.40.0 and ORM 8.0.0-rc.25, and both of those releases and both products' current dev builds require engine 0.10.4. Keeping unused exceptions would silently excuse the same mismatch if it came back.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary by CodeRabbit

  • Chores
    • Tarball conformance checks now handle composer-cli and orm-toolchain version-pin mismatches consistently across release channels. Channel-specific exceptions for these mismatches have been removed, so the checks report the same result regardless of channel when a pinned version does not match.

Walkthrough

The tarball conformance check no longer applies the two dev-channel family-pin exceptions. It now uses an empty exception list.

Merge Risk: Minimal · up to 80b9b

This change removes two expired exceptions from the conformance check, so the check now fails if a command-family package requires a different engine version than the CLI ships. It affects only the check script, not runtime behavior, and no merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the conformance check no longer excuses families that require engine 0.10.0. The changeset removes both dev-channel exceptions in packages/cli/scripts/conformance.ts t…
Description check Passed The description is directly related to the changeset. It shows the diff that empties the exceptions list in packages/cli/scripts/conformance.ts, explains why the removal conditions are met, states wha…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the conformance check no longer excuses families that require engine 0.10.0. The changeset removes both dev-channel exceptions in packages/cli/scripts/conformance.ts that allowed Composer and ORM packages requiring engine 0.10.0 while the CLI shipped 0.10.4. The title is specific and accurate, and it avoids file lists or vague wording.

Full details: Description check

Explanation

The description is directly related to the changeset. It shows the diff that empties the exceptions list in packages/cli/scripts/conformance.ts, explains why the removal conditions are met, states what does not change, and gives verification steps.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 5b444d59-87e4-4bc6-9fc8-9f108fc75f01
Commits

Reviewing files that changed from the base of the PR and between 6dc4c98 and 80b9ba3.

Files selected for processing: 1

  • packages/cli/scripts/conformance.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@pkg-pr-new

pkg-pr-new Bot commented Nov 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npx https://pkg.pr.new/@prisma/cli@403
npx https://pkg.pr.new/@prisma/cli-engine@403

commit: 80b9ba3

@wmadden-electric
wmadden-electric marked this pull request as ready for review November 23, 2026 12:07
@wmadden-electric
wmadden-electric enabled auto-merge (squash) November 23, 2026 12:07
@wmadden-electric
wmadden-electric merged commit 34ef77c into main Nov 23, 2026
16 checks passed
@wmadden-electric
wmadden-electric deleted the remove-engine-pin-exceptions branch November 23, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant