ParadeDB extension: publish a version for each Prisma ORM release candidate, instead of waiting for Prisma ORM 8.0 #8
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 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.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8"
general
weight: 0.35
wmadden
This repository publishes
@prisma/orm-extension-paradedb, which until recently was published from the Prisma ORM repository. Its first release from here was planned for after Prisma ORM 8.0. This pull request changes that. Until Prisma ORM 8.0, the extension publishes one version for each Prisma ORM release candidate, numbered like that release candidate:rc.26is an example: the newest Prisma ORM release candidate today is8.0.0-rc.25. This pull request publishes nothing. It changes the release rules and documents, and adds a nightly check that says when a release is due.Why not wait for Prisma ORM 8.0
The Prisma ORM repository published this package up to
8.0.0-rc.25, then removed it. So when Prisma ORM publishesrc.26, an application that uses ParadeDB has no ParadeDB version for it. If this repository waited for Prisma ORM 8.0, such applications would stay onrc.25until then.When a release is possible
A release needs two things:
8.0.1-dev.18.prismacommand-line tool built on that same release candidate. Theprismatool carries its own copy of two ORM packages. Until aprismarelease uses the same copy as the extension,pnpm-workspace.yamloverrides the tool's copy. An application that installs the extension does not get those overrides, so the publish refuses to release while they exist. Todayprisma@8.0.0-rc.36is built on ORM8.0.0-rc.25.Why the version is the release candidate's own number
Until Prisma ORM 8.0, every Prisma package shares one version, and the ORM's published versioning rules tell an application to list them all at that exact version. The versions published from the ORM repository (
8.0.0-rc.1to8.0.0-rc.25) followed that rule. Continuing it means a user's upgrade moves this package with the others, and the version number tells them which release candidate it is for.The cost is that a fix cannot be published between two release candidates:
8.0.0-rc.26can only be published once. From Prisma ORM 8.0 the versions become8.0.1-ea.0,8.0.1-ea.1and so on, as planned. "ea" means Early Access, and 8.0 starts at8.0.1because the old8.0.0-rc.Nversions would sort above8.0.0-ea.0.What changes
1. The publish accepts
8.0.0-rc.26. The publish refuses a version that does not sort above every version on npm. The ORM repository also published 528 development builds of this package, such as8.0.0-rc.9-dev.13. Under npm's ordering rules an identifier such as9-devsorts above any number, so builds like that one sort above8.0.0-rc.26. The check now leaves development builds out of the order, and refuses a version that is already published.2. The version must equal the release candidate its peers name.
scripts/check-manifests.mjsrefuses8.0.0-rc.27with peers at8.0.0-rc.26, because a user picks the version by its number.3. A nightly check says when a release is due.
scripts/check-published-version.mjsruns as a third job of the nightly workflowcompat-dev.yml. It reads three things from npm:latesttag;prisma@latestis built on.It fails when
prisma@latestis built on an ORM release newer than every one the published extension accepts, because a release is then both needed and possible. A failure opens or updates an issue labelledcompat-published. Today it passes: it compares8.0.0-rc.25from the ORM repository withprisma@latest, which is built onrc.25.4. The documents say all of this.
README.mdandCHANGELOG.mdtell users to list the extension at the same exact version as their other Prisma packages, and to stay on the last version that exists if their release candidate has none yet.CONTRIBUTING.mdexplains how to choose the version, the steps of the first release, the third nightly run, and the npm commands that later deprecate the versions published from the ORM repository. The development builds need their own range there, for the ordering reason in point 1.DEVELOPING.mdrecords why.Checked
8.0.0-rc.26and refuses8.0.0-rc.25as already published, and the nightly check passes.pnpm lint,actionlintoncompat-dev.yml, and the repository's checks of workflows, manifests and doc links pass.prismatool condition, the ordering refusal, and a rule that would have blocked ordinary pull requests. All findings are fixed.The Prisma ORM repository's notes for the project that moved this extension are updated in prisma/orm#31311.
Alternatives considered
rc.25until 8.0.8.0.1-ea.Nfrom the start. A user could not tell from the number which release candidate a version is for, and the ORM's rules ask for one shared version before 8.0.^8.0.0-rc.26. Every other Prisma package pins release candidates exactly, so a range would let an application mix packages from different release candidates.latest. Before 8.0 the ORM's own release candidates are underlatest, so this package matches them.prismarelease.Agent: romeo-32