fix(deps): alchemy back to beta.78 so npm stops nesting prisma@8.0.0-rc.15; release v0.29.1 #349
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 590 lines diff across 7 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.382
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #349"
general
weight: 0.35
wmadden-electric
Composer 0.29.0 makes npm install a second, older Prisma CLI inside Composer. With the current CLI and Composer 0.29.0:
The cause is alchemy. From
2.0.0-beta.80, alchemy declares optional peers on exactlyprisma@8.0.0-rc.15and@prisma/orm-postgres@8.0.0-rc.11. (alchemy wrotecatalog:in its peerDependencies, and pnpm turned that into an exact version at publish.) No otherprismaversion satisfies that peer, so npm nestsprisma@8.0.0-rc.15under alchemy. The Prisma CLI's conformance check then fails on the nested@prisma/cli-engine@0.4.0. This blocks the next CLI release.Decision: go back to
alchemy@2.0.0-beta.78and the exacteffectpins we had before #348, and release this as 0.29.1.This PR has two commits:
1.
fix(deps): reverts the dependency part of #348. It restoresalchemy@2.0.0-beta.78,effect@4.0.0-rc.115, the exact@effect/pins,@distilled.cloud/prisma@1.0.0-rc.12, theeffect/unstable/http/import paths, the exact-version rule incheck-npm-effect-resolution.mjs, and the docs and skills. ORM8.0.0-rc.17and@prisma/cli-engine0.7.0from #345 stay.2.
chore(release): v0.29.1:node scripts/set-version.ts 0.29.1plus the lockfile, and the auth example's contract, which embeds the version (as in #346). Merging this PR publishes 0.29.1.After this PR, with the packed tarballs:
(I ran this before the version bump, so the tarballs were 0.29.0. The
prisma@8.0.0-rc.21subtree is the CLI's own pins; the next CLI release moves them.) No nestedprismaunder Composer, only@prisma/cli-engine@0.7.0under Composer, and oneeffectcopy (4.0.0-rc.115) in the whole tree.Why beta.78 and not beta.79
beta.79 also lacks the prisma peers, but its
alchemy/Prismaentry imports the optional peer@alchemy.run/frontend-frameworksand fails to load without it. Composer importsalchemy/Prisma(the Prisma Cloud descriptors). With beta.79, thelocal-targettests fail withCannot find module '@alchemy.run/frontend-frameworks/core'. b5e25184 chose beta.78 over beta.79 for the same reason.Why the effect pins come back
beta.78 was built against
effect@4.0.0-rc.115. It importseffect/unstable/http/, whicheffect4.0 moved toeffect/http/, so it can't run oneffect4.0.x. It also lists@effect/vitestas a runtime dependency with an open range. Without our exact pin, npm picks@effect/vitest@4.0.2, which needseffect ^4.0.2and pulls a secondeffect. So@effect/vitestgoes back into@prisma/composer's dependencies until we can move to an alchemy without the prisma peers.Verification
pnpm build,pnpm typecheck,pnpm lint: pass.pnpm testwithout the integration package: 65/65 tasks pass.check:npm-effect-resolution: every healthy npm install resolves oneeffect@4.0.0-rc.115, and the adversarial tree fails as expected.check:cli-engine-pin,check:publish-deps,check:family-static-graph,check:skill-packaging,check:orm-pins: pass.test:scripts: 229 pass, 1 fails locally:check-cli-engine-pin-host.test.mjs"fails when the family cannot be resolved from the host" getsERR_FS_EISDIRfromrmSyncon its temp fixture. That test doesn't touch dependencies; CI will show whether it's local only.Alternatives considered
prismapeers ranges instead of exact versions. That PR is being opened separately, but it can't ship on our schedule. When it does, we can move forward to a newer alchemy and drop theeffectpins again.@alchemy.run/frontend-frameworksas a dependency. Rejected: it adds a dependency only to load an entry that beta.78 loads without it, and beta.79 still needs the sameeffectpins.Agent: tagore-84
🤖 Generated with Claude Code