Skip to content

feat(cloudflare): Expose prismaIntegration in nodejs_compat export#21882

Merged
JPeer264 merged 1 commit into
jp/add-nodejs-compat-entrypointfrom
jp/export-prisma-cloudflare
Jul 7, 2026
Merged

feat(cloudflare): Expose prismaIntegration in nodejs_compat export#21882
JPeer264 merged 1 commit into
jp/add-nodejs-compat-entrypointfrom
jp/export-prisma-cloudflare

Conversation

@JPeer264

@JPeer264 JPeer264 commented Jul 1, 2026

Copy link
Copy Markdown
Member

closes #15466
closes JS-242

The prismaIntegration can be used without any further adaptions in Cloudflare. I didn't add a dedicated E2E test, but added the Prisma 6 dependencies into the cloudflare-integration-tests to be a little faster in the CI. If we would need Prisma v7 tests I would suggest to then create an E2E test to have tested 2 different versions.

This PR is really just exporting prismaIntegration from the newly added @sentry/node SDK

@JPeer264 JPeer264 self-assigned this Jul 1, 2026
@linear-code

linear-code Bot commented Jul 1, 2026

Copy link
Copy Markdown

JS-242

@JPeer264 JPeer264 force-pushed the jp/add-nodejs-compat-entrypoint branch from 30afc69 to 0fcde51 Compare July 1, 2026 12:14
@JPeer264 JPeer264 force-pushed the jp/export-prisma-cloudflare branch from 5eadbe0 to a734706 Compare July 1, 2026 12:15
@JPeer264 JPeer264 force-pushed the jp/add-nodejs-compat-entrypoint branch from 0fcde51 to a9079a0 Compare July 1, 2026 12:15
@JPeer264 JPeer264 force-pushed the jp/export-prisma-cloudflare branch from a734706 to 0ed10a9 Compare July 1, 2026 12:17
@JPeer264 JPeer264 marked this pull request as ready for review July 1, 2026 12:21
@JPeer264 JPeer264 requested a review from a team as a code owner July 1, 2026 12:21
@JPeer264 JPeer264 requested review from andreiborza and mydea and removed request for a team July 1, 2026 12:21
@JPeer264 JPeer264 force-pushed the jp/add-nodejs-compat-entrypoint branch from a9079a0 to 25ac69d Compare July 3, 2026 09:15
@JPeer264 JPeer264 force-pushed the jp/export-prisma-cloudflare branch from 0ed10a9 to 4e28e9a Compare July 3, 2026 09:15
@JPeer264 JPeer264 force-pushed the jp/add-nodejs-compat-entrypoint branch from 25ac69d to 2bd8150 Compare July 3, 2026 09:17
@JPeer264 JPeer264 force-pushed the jp/export-prisma-cloudflare branch from 4e28e9a to 0f9021e Compare July 3, 2026 09:17
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

👋 @mydea, @andreiborza — Please review this PR when you get a chance!

@JPeer264 JPeer264 force-pushed the jp/add-nodejs-compat-entrypoint branch from 2bd8150 to 5c31420 Compare July 6, 2026 11:43
@JPeer264 JPeer264 force-pushed the jp/export-prisma-cloudflare branch from 0f9021e to 4daa27c Compare July 6, 2026 11:43
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.59 kB - -
@sentry/browser - with treeshaking flags 26.03 kB - -
@sentry/browser (incl. Tracing) 46.24 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.01 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.01 kB - -
@sentry/browser (incl. Tracing, Replay) 85.49 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.1 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.19 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.84 kB - -
@sentry/browser (incl. Feedback) 44.76 kB - -
@sentry/browser (incl. sendFeedback) 32.38 kB - -
@sentry/browser (incl. FeedbackAsync) 37.51 kB - -
@sentry/browser (incl. Metrics) 28.67 kB - -
@sentry/browser (incl. Logs) 28.91 kB - -
@sentry/browser (incl. Metrics & Logs) 29.59 kB - -
@sentry/react 29.38 kB - -
@sentry/react (incl. Tracing) 48.51 kB - -
@sentry/vue 33.03 kB - -
@sentry/vue (incl. Tracing) 48.11 kB - -
@sentry/svelte 27.61 kB - -
CDN Bundle 30 kB - -
CDN Bundle (incl. Tracing) 48.24 kB - -
CDN Bundle (incl. Logs, Metrics) 31.57 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.54 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.77 kB - -
CDN Bundle (incl. Tracing, Replay) 85.7 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.49 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.78 kB - -
CDN Bundle - uncompressed 89.35 kB - -
CDN Bundle (incl. Tracing) - uncompressed 145.96 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.05 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 149.93 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 218.59 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 264.97 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 268.93 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 278.68 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.62 kB - -
@sentry/nextjs (client) 50.95 kB - -
@sentry/sveltekit (client) 46.65 kB - -
@sentry/core/server 78.38 kB - -
@sentry/core/browser 64.73 kB - -
@sentry/node-core 63.2 kB - -
@sentry/node 123.2 kB -0.01% -1 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 69.95 kB - -
@sentry/node/light 50.72 kB -0.01% -1 B 🔽
@sentry/node - without tracing 74.24 kB - -
@sentry/aws-serverless 85.02 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 181.68 kB - -
@sentry/cloudflare (withSentry) 449.39 kB - -

View base workflow run

Comment thread dev-packages/cloudflare-integration-tests/suites/prisma/test.ts
@JPeer264 JPeer264 force-pushed the jp/add-nodejs-compat-entrypoint branch from 5c31420 to 267bf67 Compare July 6, 2026 14:25
@JPeer264 JPeer264 force-pushed the jp/export-prisma-cloudflare branch from 4daa27c to 910235c Compare July 6, 2026 14:25
@JPeer264 JPeer264 merged commit ed670cd into develop Jul 7, 2026
302 of 332 checks passed
@JPeer264 JPeer264 deleted the jp/export-prisma-cloudflare branch July 7, 2026 08:14
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.

Support Prisma Integration in Cloudflare / D1

2 participants