Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename prisma-fmt-wasm to prisma-schema-wasm #20045

Merged
merged 2 commits into from
Jul 5, 2023
Merged

Conversation

Jolg42
Copy link
Member

@Jolg42 Jolg42 commented Jul 3, 2023

@Jolg42 Jolg42 added this to the 5.0.0 milestone Jul 3, 2023
@Jolg42 Jolg42 requested a review from a team as a code owner July 3, 2023 19:09
@Jolg42 Jolg42 requested review from SevInf and millsp and removed request for a team July 3, 2023 19:09
@socket-security
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@prisma/prisma-schema-wasm 4.17.0-18.43aefb4a29db88d246ea74e047e05571b65aa86f filesystem +0 2.45 MB prismabot
@prisma/engines-version 4.17.0-18.43aefb4a29db88d246ea74e047e05571b65aa86f None +0 12.7 kB prismabot

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 4, 2023

CodSpeed Performance Report

Merging #20045 will degrade performances by 11.38%

Comparing joel/rename-fmt-wasm (ae99178) with main (c87b035)

Summary

❌ 1 regressions
✅ 3 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main joel/rename-fmt-wasm Change
typescript compilation ~50 Models 126.4 ms 142.6 ms -11.38%

@Jolg42 Jolg42 requested a review from jkomyno July 4, 2023 08:37
@Jolg42
Copy link
Member Author

Jolg42 commented Jul 4, 2023

Note: ignore the "The system cannot find the path specified." for Windows run, it looks like it's flaky, only happens in some runs.

Copy link
Contributor

@jkomyno jkomyno left a comment

Choose a reason for hiding this comment

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

It seems that both the CI and the codebase are handled! Nice, approving with a small nit that doesn't block merges.

@Jolg42 Jolg42 merged commit 65019af into main Jul 5, 2023
58 of 60 checks passed
@Jolg42 Jolg42 deleted the joel/rename-fmt-wasm branch July 5, 2023 08:16
describe('format wasm', () => {
describe('schema wasm', () => {
Copy link
Member

Choose a reason for hiding this comment

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

doesn't this refer to the action of formatting?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, here actually a better name would be "format" but actually these tests are now duplicates of the ones below, and we could clean up there, though not urgent at all.

@@ -36,6 +36,7 @@ export enum ErrorArea {
PHOTON_STUDIO = 'PHOTON_STUDIO',
// Unused since 4.9.0 and now using `LIFT_CLI`
INTROSPECTION_CLI = 'INTROSPECTION_CLI',
// Note: prisma-fmt-wasm was renamed to prisma-schema-wasm in 5.0.0
Copy link
Member

Choose a reason for hiding this comment

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

What does this refer to here?

Copy link
Contributor

Choose a reason for hiding this comment

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

The error area is something used in our internal error reporting dashboard to categorise Rust panics' "topic areas". It mirrors this ErrorArea enum here.

Copy link
Member

Choose a reason for hiding this comment

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

Hm, so this defines FMT_CLI further?
Still confuses me, as the wording that I commented on does not really make this clear.
It sounds like it would comment on something talking about prisma-fmt-wasm or prisma-schema-wasm, but that is not to be found in this file.

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.

None yet

3 participants