← Back to Pull requests

chore(deps): move Composer to Prisma ORM 8.0.0-rc.17 and CLI engine 0.7.0 #345

Closed
unknown closed this pull request without merging on Oct 08, 2026 15:31 UTC
View on GitHub
unknown unknown commented on Oct 08, 2026 07:11 UTC
Author

Moves Composer to Prisma ORM 8.0.0-rc.17 and CLI engine 0.7.0 together. ORM rc.17 is the first ORM release that peers engine 0.7.0, the engine the Prisma CLI ships since prisma/prisma-cli#337. With both on 0.7.0, the CLI can drop the two temporary exceptions in its release check (prisma/prisma-cli#338).

Changes

1. Engine: @prisma/cli-engine 0.6.3 → 0.7.0 in its five pins (the root override, @internal/cli, the prisma-cloud target, and @prisma/composer-cli's peer and dev dependencies). Engine 0.7.0 adds API and error codes and removes nothing.
2. ORM: @prisma/orm-postgres and @prisma/orm-toolchain 8.0.0-rc.16 → 8.0.0-rc.17 in all seven manifests.
3. The rc.16 to rc.17 upgrade guides, applied where their detection matches Composer:
- foreign-keys-name-their-backing-index (and its extension twin): every contract is re-emitted with the rc.17 toolchain. Only the auth pack's contract changes. Its two foreign keys now name their backing indexes (account_userId_idx, session_userId_idx), so its storage hash moves.
- orm-collections-lock-rows, contract-artifacts-restamp: covered by the same re-emit. No other emitted file changes.
- enum-codecs-refused and with-is-a-collection-member match by pattern only: a timestamptz-string codec on a plain column, and an import attribute with: { type: 'json' }.
4. Auth pack migration: 0001_init is re-authored with migration plan, as the pack's prisma.config.ts describes. Its operations are the same; the rc.17 renderer writes timestamptz without quotes. examples/auth re-materialises the auth space from the pack: 0001_init, refs/head.json, and the snapshot directory move to the new hash.

Storage hashes (old → new):

  • auth pack head, and the auth space in examples/auth: 310f206d → 0df0ef09
  • No other storage, execution or profile hash changes.

    For the release notes

    An auth database deployed with an earlier Composer has its marker at 310f206d. Its next deploy stops with MIGRATION_PATH_NOT_FOUND until someone runs prisma db sign against it. The rc.17 extension guide prescribes the same re-sign for bundled contracts.

    Checks run locally

  • pnpm typecheck, lint, lint:casts, lint:deps (including the ORM-pin and contract-snapshot lints), test:scripts, check:skill-packaging, check:cli-engine-pin, check:publish-deps, check:orm-pins, check:npm-effect-resolution, check:family-static-graph, check:floor-imports and lint:retired-binary-name pass.

  • turbo run test --continue: 64 of 66 tasks pass. The two failures come from this machine's shared local Postgres daemon, not from this change:

  • - local-target: its beforeAll hook timed out after 5 s while it started the daemon.
    - integration-tests: the daemon reported database or disk is full and a held lock file after the disk filled up mid-run, and it still held an orders database from an older run.

    Diff: 369 lines (+276 / -93) across 4 files Reviewer: wmadden Review duration: 499m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 369 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.354
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #345"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.8% (MEDIUM) · Higher = larger blast radius
    42.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.9% · Safe to merge
    16.9%