test(): Test the create product workflow compensation (#4716)

**What**
Integration tests to validate the workflow compensation.
Also, fix the transaction state when the workflow is compensating and some steps does not have any compensation
This commit is contained in:
Adrien de Peretti
2023-08-09 14:33:04 +00:00
committed by GitHub
parent 86c314eb2a
commit ac866ebb51
21 changed files with 391 additions and 193 deletions
+12
View File
@@ -0,0 +1,12 @@
---
"@medusajs/orchestration": patch
"@medusajs/workflows": patch
"@medusajs/types": patch
"@medusajs/medusa": patch
---
test(): Test the create product workflow compensation
fix(orchestration): Fix the transaction state after compensating with no compensation steps in the middle
chore(workflows): Export and naming
feat(types): Update product workflow input types
feat(medusa): Update product workflow usage and cleanup endpoint