-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(medusa): Improve add line item to cart perf and transaction management + clustering start command #5701
Conversation
🦋 Changeset detectedLatest commit: 304c3ad The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Ignored Deployments
|
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/link-modules@0.2.4-snapshot-20231123103111 yarn add @medusajs/medusa@1.18.1-snapshot-20231123103111 yarn add @medusajs/modules-sdk@1.12.4-snapshot-20231123103111 yarn add @medusajs/orchestration@0.5.0-snapshot-20231123103111 yarn add @medusajs/pricing@0.1.5-snapshot-20231123103111 yarn add @medusajs/product@0.3.5-snapshot-20231123103111 yarn add @medusajs/types@1.11.8-snapshot-20231123103111 yarn add @medusajs/utils@1.11.1-snapshot-20231123103111 yarn add @medusajs/workflows@0.4.0-snapshot-20231123103111
|
…hub.com/medusajs/medusa into feat/improve-create-line-item-end-point
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/link-modules@0.2.4-snapshot-20231123114524 yarn add @medusajs/medusa@1.18.1-snapshot-20231123114524 yarn add @medusajs/modules-sdk@1.12.4-snapshot-20231123114524 yarn add @medusajs/orchestration@0.5.0-snapshot-20231123114524 yarn add @medusajs/pricing@0.1.5-snapshot-20231123114524 yarn add @medusajs/product@0.3.5-snapshot-20231123114524 yarn add @medusajs/types@1.11.8-snapshot-20231123114524 yarn add @medusajs/utils@1.11.1-snapshot-20231123114524 yarn add @medusajs/workflows@0.4.0-snapshot-20231123114524
|
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/ui@2.2.3-snapshot-20231123124203 yarn add @medusajs/link-modules@0.2.4-snapshot-20231123124203 yarn add @medusajs/medusa@1.18.1-snapshot-20231123124203 yarn add @medusajs/modules-sdk@1.12.4-snapshot-20231123124203 yarn add @medusajs/orchestration@0.5.0-snapshot-20231123124203 yarn add @medusajs/pricing@0.1.5-snapshot-20231123124203 yarn add @medusajs/product@0.3.5-snapshot-20231123124203 yarn add @medusajs/types@1.11.8-snapshot-20231123124203 yarn add @medusajs/utils@1.11.1-snapshot-20231123124203 yarn add @medusajs/workflows@0.4.0-snapshot-20231123124203
|
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/ui@2.2.3-snapshot-20231123131030 yarn add @medusajs/link-modules@0.2.4-snapshot-20231123131030 yarn add @medusajs/medusa@1.18.1-snapshot-20231123131030 yarn add @medusajs/medusa-cli@1.3.22-snapshot-20231123131030 yarn add @medusajs/modules-sdk@1.12.4-snapshot-20231123131030 yarn add @medusajs/orchestration@0.5.0-snapshot-20231123131030 yarn add @medusajs/pricing@0.1.5-snapshot-20231123131030 yarn add @medusajs/product@0.3.5-snapshot-20231123131030 yarn add @medusajs/types@1.11.8-snapshot-20231123131030 yarn add @medusajs/utils@1.11.1-snapshot-20231123131030 yarn add @medusajs/workflows@0.4.0-snapshot-20231123131030
|
…medusajs/medusa into feat/improve-create-line-item-end-point
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/admin-ui@2.1.9-snapshot-20231123162346 yarn add @medusajs/ui@2.2.3-snapshot-20231123162346 yarn add @medusajs/link-modules@0.2.4-snapshot-20231123162346 yarn add @medusajs/medusa@1.18.1-snapshot-20231123162346 yarn add @medusajs/medusa-cli@1.3.22-snapshot-20231123162346 yarn add @medusajs/modules-sdk@1.12.4-snapshot-20231123162346 yarn add @medusajs/orchestration@0.5.0-snapshot-20231123162346 yarn add @medusajs/pricing@0.1.5-snapshot-20231123162346 yarn add @medusajs/product@0.3.5-snapshot-20231123162346 yarn add @medusajs/types@1.11.8-snapshot-20231123162346 yarn add @medusajs/utils@1.11.1-snapshot-20231123162346 yarn add @medusajs/workflows@0.4.0-snapshot-20231123162346
|
…medusajs/medusa into feat/improve-create-line-item-end-point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! just a minor nit 😄
Before merging I am just looking at another point |
@adrien2p I think we should exclude this from the upcoming release, which has already been through testing. So please do not merge before 1.18.1 is out :) |
I think we could, especially the cluster start command wdyt? I am also looking at some points in the create cart workflow cause there is currently multiple duplication which could be prevented. But I am just doing some tests and it would eventually be a different pr |
@olivermrbl should we also stress the user that using the cluster in product is best practice? see |
53da101
to
21f3987
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with comments. Great work :)
@@ -233,6 +233,42 @@ function buildLocalCommands(cli, isLocalProject) { | |||
}) | |||
), | |||
}) | |||
.command({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment: needs documentation
packages/medusa/src/api/routes/store/carts/create-line-item/utils/handler-steps.ts
Outdated
Show resolved
Hide resolved
packages/medusa/src/api/routes/store/carts/create-line-item/utils/handler-steps.ts
Outdated
Show resolved
Hide resolved
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/admin@7.1.9-snapshot-20231204150103 yarn add @medusajs/admin-ui@2.1.10-snapshot-20231204150103 yarn add @medusajs/link-modules@0.2.5-snapshot-20231204150103 yarn add @medusajs/medusa@1.19.0-snapshot-20231204150103 yarn add @medusajs/medusa-cli@1.3.22-snapshot-20231204150103 yarn add medusa-payment-klarna@1.4.0-snapshot-20231204150103 yarn add medusa-react@9.0.12-snapshot-20231204150103 yarn add @medusajs/modules-sdk@1.12.5-snapshot-20231204150103 yarn add @medusajs/pricing@0.1.6-snapshot-20231204150103 yarn add @medusajs/product@0.3.6-snapshot-20231204150103 yarn add @medusajs/utils@1.11.2-snapshot-20231204150103
|
What