Skip to content

fix(orm-sqlite): declare arktype, which the runtime entrypoint imports - #31051

Merged
SevInf merged 3 commits into
mainfrom
fix/orm-sqlite-arktype-dep
Nov 16, 2026
Merged

SevInf merged 3 commits into
mainfrom
fix/orm-sqlite-arktype-dep

Conversation

@StevenMcClankerton

@StevenMcClankerton StevenMcClankerton commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Linked issue

n/a — small change. Blocks publishing 8.0.0-rc.24: the release run https://github.com/prisma/orm/actions/runs/43892755170 after #31047 stopped at "Run conformance checks".

Summary

Since #30990, @prisma/orm-sqlite's dist/runtime.mjs imports arktype, but the package does not declare it, so check:conformance reports [import-purity/undeclared] @prisma/orm-sqlite (dist/runtime.mjs) and the publish refuses. The import comes from @internal/sqlite (src/runtime/transaction-options.ts), which does not declare arktype either, and the shell build only accepts a public dependency that a bundled internal package declares. This adds arktype: catalog: to both @internal/sqlite and @prisma/orm-sqlite, as the postgres and mysql facades and public packages already have.

The facade change needs a new pending extension declaration (upgrade-instructions/pending/sqlite-arktype-dep/extension, changes: []). The publish refuses while a pending fragment remains, so #31052 (stacked on this) archives it into rc.24.

After both merge, 8.0.0-rc.24 needs a Publish to npm dispatch from main with dist-tag=latest and dry-run=false (the recovery path in docs/oss/versioning.md).

Testing performed

  • pnpm check:conformance without the change: reports the undeclared arktype import. With the change: OK.
  • pnpm --filter @internal/sqlite --filter @prisma/orm-sqlite build: succeeds (the shell manifest check passes).
  • pnpm check:upgrade-coverage --mode pr: OK.

Skill update

n/a — no user-facing surface changes.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated internal package configuration to support the latest package requirements.

Since #30990 dist/runtime.mjs imports arktype, but the package did not declare it, so the release conformance check refused to publish 8.0.0-rc.24. @prisma/orm-postgres and @prisma/orm-mysql already declare it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Steven McClankerton <[email protected]>
@StevenMcClankerton
StevenMcClankerton requested a review from a team as a code owner November 16, 2026 15:15
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Two SQLite package manifests add arktype as a dependency. Both use the workspace catalog to resolve its version.

Changes: SQLite package dependencies

Layer / File(s) Summary
Declare arktype dependencies
packages/9-public/@prisma/orm-sqlite/package.json, packages/3-targets/sqlite/9-facade/package.json
Both package manifests add arktype as a dependency using the workspace catalog.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: wmadden-electric, tensordreams

Merge Risk: Minimal · up to e199f

This declares a dependency that the SQLite runtime already imports, which unblocks publishing. No merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the real change: adding the arktype dependency to @prisma/orm-sqlite, which the runtime entrypoint imports. The raw summary shows dependency additions to @prisma/orm-sqlite and the SQL…
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the real change: adding the arktype dependency to @prisma/orm-sqlite, which the runtime entrypoint imports. The raw summary shows dependency additions to @prisma/orm-sqlite and the SQLite facade package, and the objectives describe the same undeclared-import fix. The title does not mention the facade and internal package changes, but it covers the main point. It is specific and uses the fix(scope) convention.

Finishing Touches

Generate unit tests (beta)

  • 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: prisma/orm
  • Branch: main
  • File: .coderabbit.yml
  • Commit: 00b9b1e
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 737493a3-938a-4d61-8c69-25af41422f25
Commits

Reviewing files that changed from the base of the PR and between 1b13de7 and e199f3c.

Files ignored due to path filters: 1

  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 1

  • packages/3-targets/sqlite/9-facade/package.json

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

…ptions import it

The shell build derives @prisma/orm-sqlite's dependencies from the internal packages it bundles, so the public package can only declare arktype once @internal/sqlite does. The postgres and mysql facades already declare it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Steven McClankerton <[email protected]>
@SevInf
SevInf enabled auto-merge November 16, 2026 15:29
@pkg-pr-new

pkg-pr-new Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-extension-arktype-json

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-arktype-json@31051

@prisma/orm-extension-middleware-cache

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-middleware-cache@31051

@prisma/orm-extension-paradedb

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-paradedb@31051

@prisma/orm-extension-pgvector

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-pgvector@31051

@prisma/orm-extension-postgis

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-postgis@31051

@prisma/orm-extension-supabase

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-supabase@31051

@prisma/orm-family-mongo

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-family-mongo@31051

@prisma/orm-family-sql

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-family-sql@31051

@prisma/orm-framework

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-framework@31051

@prisma/orm-mariadb

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-mariadb@31051

@prisma/orm-mongo

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-mongo@31051

@prisma/orm-mysql

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-mysql@31051

@prisma/orm-postgres

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-postgres@31051

@prisma/orm-postgres-contrib

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-postgres-contrib@31051

@prisma/orm-sqlite

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-sqlite@31051

@prisma/orm-target-mariadb

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-mariadb@31051

@prisma/orm-target-mongo

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-mongo@31051

@prisma/orm-target-mysql

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-mysql@31051

@prisma/orm-target-postgres

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-postgres@31051

@prisma/orm-target-sqlite

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-sqlite@31051

@prisma/orm-toolchain

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-toolchain@31051

commit: 97306a3

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 289.05 KB (0%)
postgres / emit 253.21 KB (0%)
mongo / no-emit 235.84 KB (0%)
mongo / emit 191.51 KB (0%)
cf-worker / no-emit 351.91 KB (0%)
cf-worker / emit 311.86 KB (0%)

…xtension changes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Steven McClankerton <[email protected]>
@SevInf
SevInf added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit b99c706 Nov 16, 2026
25 checks passed
@SevInf
SevInf deleted the fix/orm-sqlite-arktype-dep branch November 16, 2026 16:09
vitaly-z pushed a commit to vitaly-z/prisma-orm that referenced this pull request Nov 16, 2026
…isma#31052)

## Linked issue

n/a — small change. Stacked on prisma#31051;
GitHub retargets it to `main` when that merges.

## Summary

prisma#31051 has to add a pending extension
fragment, because PR-mode `check:upgrade-coverage` requires a new
declaration for any change under `packages/3-targets/*/9-facade/`. The
`Publish to npm` run for 8.0.0-rc.24 checks in publish mode, which
refuses while any pending fragment remains. This moves that fragment,
which declares no changes, into
`upgrade-instructions/releases/8.0.0-rc.23-to-8.0.0-rc.24/sources/`, so
the rc.24 publish can be dispatched from `main` after both PRs merge.
The rc.24 guides do not change.

## Testing performed

- `node scripts/check-upgrade-coverage.mjs --mode pr --prev
fix/orm-sqlite-arktype-dep --head HEAD`: OK.
- `node scripts/check-upgrade-coverage.mjs --mode publish --prev
v8.0.0-rc.23 --head HEAD`: OK. On
prisma#31051 alone it reports
`[pending-release]` for this fragment.

## Skill update

n/a — no user-facing surface changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

- **Documentation**
- The SQLite/ArkType dependency upgrade instructions are now located
with the 8.0.0-rc.23-to-8.0.0-rc.24 release materials. The instructions’
content is unchanged, and no application behavior is affected. Existing
guidance remains the same; only its location in the upgrade
documentation has changed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Steven McClankerton <[email protected]>
Co-authored-by: Steven McClankerton <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants