Skip to content

test: refactor before Prisma 7 - #28342

Merged
jkomyno merged 8 commits into
nextfrom
feat/refactor-tests
Oct 22, 2025
Merged

test: refactor before Prisma 7#28342
jkomyno merged 8 commits into
nextfrom
feat/refactor-tests

Conversation

@jkomyno

@jkomyno jkomyno commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

This PR:

  • gets rid of mini-proxy in tests
  • gets rid of prisma generate --data-proxy and prisma generate --accelerate
  • temporarily skips prisma studio tests
  • contributes to TML-1535

@jkomyno jkomyno added this to the 7.0.0 milestone Oct 21, 2025
@github-actions

github-actions Bot commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
packages/client/runtime/library.js 165.36 KB (-0.13% 🔽)
packages/client/runtime/library.d.ts 117.01 KB (0%)
packages/client/runtime/binary.js 625.12 KB (-0.04% 🔽)
packages/client/runtime/binary.d.ts 26 B (0%)
packages/client/runtime/edge.js 133.63 KB (-0.16% 🔽)
packages/client/runtime/edge-esm.js 132.62 KB (-0.16% 🔽)
packages/client/runtime/wasm-engine-edge.js 127.69 KB (0%)
packages/client/runtime/index-browser.js 2.23 KB (0%)
packages/client/runtime/index-browser.d.ts 3.28 KB (0%)
packages/cli/build/index.js 2.68 MB (-0.02% 🔽)
packages/client/prisma-client-0.0.0.tgz 25.2 MB (-0.01% 🔽)
packages/cli/prisma-0.0.0.tgz 16.03 MB (-0.02% 🔽)
packages/bundle-size/da-workers-libsql/output.tgz 943.13 KB (0%)
packages/bundle-size/da-workers-neon/output.tgz 1017.35 KB (0%)
packages/bundle-size/da-workers-pg/output.tgz 1016.7 KB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 960.03 KB (0%)
packages/bundle-size/da-workers-d1/output.tgz 925.43 KB (0%)

@jkomyno
jkomyno marked this pull request as ready for review October 22, 2025 08:49
Comment thread packages/cli/src/Generate.ts Outdated
Comment thread packages/client/tests/functional/_utils/setupTestSuiteEnv.ts Outdated
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Oct 22, 2025
@jkomyno
jkomyno merged commit 5071e9a into next Oct 22, 2025
371 checks passed
@jkomyno
jkomyno deleted the feat/refactor-tests branch October 22, 2025 13:28
jkomyno added a commit that referenced this pull request Oct 24, 2025
This PR:
- is built on top of #28342
- removes `DataProxyEngine`
- removes `AccelerateEngine`
- removes `@prisma/accelerate-contract`
- removes `/edge` from `@prisma/client`
- removes `in-memory` tests (which were using `library` query engine)
- removes support for `wasm-engine-edge` and `edge` from
`TARGET_BUILD_TYPE`
- adjusts some functional tests so that we no longer have to care about
the line numbers in snapshot tests
- closes
[TML-1535](https://linear.app/prisma-company/issue/TML-1535/get-rid-of-dataproxyengine-studio)

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
aqrln pushed a commit that referenced this pull request Nov 17, 2025
This PR:
- gets rid of `mini-proxy` in tests
- gets rid of `prisma generate --data-proxy` and `prisma generate
--accelerate`
- temporarily skips `prisma studio` tests
- contributes to
[TML-1535](https://linear.app/prisma-company/issue/TML-1535/get-rid-of-dataproxyengine-studio)

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
aqrln pushed a commit that referenced this pull request Nov 17, 2025
This PR:
- is built on top of #28342
- removes `DataProxyEngine`
- removes `AccelerateEngine`
- removes `@prisma/accelerate-contract`
- removes `/edge` from `@prisma/client`
- removes `in-memory` tests (which were using `library` query engine)
- removes support for `wasm-engine-edge` and `edge` from
`TARGET_BUILD_TYPE`
- adjusts some functional tests so that we no longer have to care about
the line numbers in snapshot tests
- closes
[TML-1535](https://linear.app/prisma-company/issue/TML-1535/get-rid-of-dataproxyengine-studio)

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
aqrln pushed a commit that referenced this pull request Nov 17, 2025
This PR:
- gets rid of `mini-proxy` in tests
- gets rid of `prisma generate --data-proxy` and `prisma generate
--accelerate`
- temporarily skips `prisma studio` tests
- contributes to
[TML-1535](https://linear.app/prisma-company/issue/TML-1535/get-rid-of-dataproxyengine-studio)

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
aqrln pushed a commit that referenced this pull request Nov 17, 2025
This PR:
- is built on top of #28342
- removes `DataProxyEngine`
- removes `AccelerateEngine`
- removes `@prisma/accelerate-contract`
- removes `/edge` from `@prisma/client`
- removes `in-memory` tests (which were using `library` query engine)
- removes support for `wasm-engine-edge` and `edge` from
`TARGET_BUILD_TYPE`
- adjusts some functional tests so that we no longer have to care about
the line numbers in snapshot tests
- closes
[TML-1535](https://linear.app/prisma-company/issue/TML-1535/get-rid-of-dataproxyengine-studio)

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
aqrln pushed a commit that referenced this pull request Nov 17, 2025
This PR:
- gets rid of `mini-proxy` in tests
- gets rid of `prisma generate --data-proxy` and `prisma generate
--accelerate`
- temporarily skips `prisma studio` tests
- contributes to
[TML-1535](https://linear.app/prisma-company/issue/TML-1535/get-rid-of-dataproxyengine-studio)

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
aqrln pushed a commit that referenced this pull request Nov 17, 2025
This PR:
- is built on top of #28342
- removes `DataProxyEngine`
- removes `AccelerateEngine`
- removes `@prisma/accelerate-contract`
- removes `/edge` from `@prisma/client`
- removes `in-memory` tests (which were using `library` query engine)
- removes support for `wasm-engine-edge` and `edge` from
`TARGET_BUILD_TYPE`
- adjusts some functional tests so that we no longer have to care about
the line numbers in snapshot tests
- closes
[TML-1535](https://linear.app/prisma-company/issue/TML-1535/get-rid-of-dataproxyengine-studio)

---------

Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>
Co-authored-by: Amp <amp@ampcode.com>
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