chore(deps): move Composer to Prisma ORM 8.0.0-rc.17 and CLI engine 0.7.0 #345
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
wmadden
Moves Composer to Prisma ORM
8.0.0-rc.17and CLI engine0.7.0together. ORM rc.17 is the first ORM release that peers engine0.7.0, the engine the Prisma CLI ships since prisma/prisma-cli#337. With both on0.7.0, the CLI can drop the two temporary exceptions in its release check (prisma/prisma-cli#338).Changes
1. Engine:
@prisma/cli-engine0.6.3→0.7.0in its five pins (the root override,@internal/cli, the prisma-cloud target, and@prisma/composer-cli's peer and dev dependencies). Engine0.7.0adds API and error codes and removes nothing.2. ORM:
@prisma/orm-postgresand@prisma/orm-toolchain8.0.0-rc.16→8.0.0-rc.17in 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-refusedandwith-is-a-collection-membermatch by pattern only: atimestamptz-stringcodec on a plain column, and an import attributewith: { type: 'json' }.4. Auth pack migration:
0001_initis re-authored withmigration plan, as the pack'sprisma.config.tsdescribes. Its operations are the same; the rc.17 renderer writestimestamptzwithout quotes.examples/authre-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):
examples/auth:310f206d→0df0ef09No 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 withMIGRATION_PATH_NOT_FOUNDuntil someone runsprisma db signagainst 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-importsandlint:retired-binary-namepass.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: itsbeforeAllhook timed out after 5 s while it started the daemon.-
integration-tests: the daemon reporteddatabase or disk is fulland a held lock file after the disk filled up mid-run, and it still held an orders database from an older run.