Skip to content

Conversation

jkomyno
Copy link
Contributor

@jkomyno jkomyno commented Oct 8, 2025

This PR:

@jkomyno jkomyno added this to the 6.18.0 milestone Oct 8, 2025
Copy link
Contributor

github-actions bot commented Oct 8, 2025

Client memory tests, node 24, library:

✅ Success

Copy link
Contributor

github-actions bot commented Oct 8, 2025

size-limit report 📦

Path Size
packages/client/runtime/library.js 197.77 KB (0%)
packages/client/runtime/library.d.ts 126.53 KB (0%)
packages/client/runtime/binary.js 658.35 KB (0%)
packages/client/runtime/binary.d.ts 26 B (0%)
packages/client/runtime/edge.js 166.66 KB (0%)
packages/client/runtime/edge-esm.js 166.13 KB (0%)
packages/client/runtime/wasm-engine-edge.js 128.78 KB (0%)
packages/client/runtime/index-browser.js 34.5 KB (0%)
packages/client/runtime/index-browser.d.ts 11.64 KB (0%)
packages/cli/build/index.js 2.63 MB (0%)
packages/client/prisma-client-0.0.0.tgz 25.93 MB (-0.01% 🔽)
packages/cli/prisma-0.0.0.tgz 16.73 MB (-0.01% 🔽)
packages/bundle-size/da-workers-libsql/output.tgz 925.09 KB (0%)
packages/bundle-size/da-workers-neon/output.tgz 998.87 KB (0%)
packages/bundle-size/da-workers-pg/output.tgz 998.13 KB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 941.32 KB (0%)
packages/bundle-size/da-workers-d1/output.tgz 906.94 KB (0%)

@jkomyno jkomyno marked this pull request as ready for review October 8, 2025 10:03
@Copilot Copilot AI review requested due to automatic review settings October 8, 2025 10:03
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds end-to-end tests for the browser bundle functionality of the Prisma client, specifically testing that the browser entry point works correctly with TypeScript types and utilities.

  • Creates a new e2e test suite that validates browser bundle imports and type compatibility
  • Tests enum imports, utility types, and decimal.js functionality in browser context
  • Includes TypeScript configuration with DOM library support for browser environment testing

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsconfig.json TypeScript configuration for browser environment with DOM lib support
main.test.ts Test suite validating browser bundle enum imports, utility types, and decimal.js
schema.prisma Prisma schema with User model and Role enum for test data
package.json Dependencies for vitest testing and local Prisma packages
_steps.ts Test execution steps for setup, testing, and cleanup
README.md Documentation explaining the browser bundle test purpose
Files not reviewed (1)
  • packages/client/tests/e2e/browser-bundle/pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@jkomyno jkomyno changed the title test(client): add browser-bundle e2e test(client): add browser-bundle e2e test Oct 8, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 8, 2025
@jkomyno jkomyno merged commit 4e21485 into main Oct 9, 2025
783 of 784 checks passed
@jkomyno jkomyno deleted the feat/test-browser-bundle branch October 9, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants