github-actions[bot]
229fc6f8fd
chore: Version Packages ( #14331 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-06 16:21:52 +01:00
github-actions[bot]
cfa38871cb
Version Packages ( #13978 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-17 13:55:25 +01:00
olivermrbl
237b472e73
chore: Version packages
2025-12-11 14:10:54 +01:00
olivermrbl
ba275a33bb
chore: Version packages
2025-12-03 09:20:02 +01:00
olivermrbl
1d4af32749
chore: Version packages
2025-12-01 18:54:07 +01:00
Adrien de Peretti
1ea932a56f
fix(): Identify step that should require a save on checkpoint ( #14037 )
...
* fix(): Identify step that force save checkpoint
* Create sour-peas-provide.md
2025-11-17 12:47:57 +01:00
github-actions[bot]
645266c200
chore: Version Packages ( #13923 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-05 12:52:44 +01:00
Adrien de Peretti
9d9d0397a8
fix(): Index integration tests flackyness ( #13953 )
...
* fix(): Index integration tests flackyness
* fix
* Create twenty-eels-remain.md
* fix
* fix
* fix
* fix
* finalize
* finalize
* finalize
* finalize
* finalize
* finalize
* chore: empty commit
* finalize
* finalize
* chore: empty commit
* finalize
* finalize
2025-11-05 10:40:12 +01:00
Adrien de Peretti
afb40d437b
chore(): Cleanup and organize deps ( #13940 )
...
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* Create lucky-poets-scream.md
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* chore(): Cleanup and organize deps
* dedupe snapshot this build
* split into 4 shard
* re configure packages integration tests
* re configure packages integration tests
* re configure packages integration tests
* re configure packages integration tests
* update scripts
* update scripts
* update scripts
* update scripts
* update scripts
* update scripts
* update scripts
* update scripts
* reduce shard for packages
2025-11-03 19:06:37 +01:00
Adrien de Peretti
224ab39a81
chore(): Update dependencies usage ( #13910 )
...
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* fix for wxios 1.6
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* push scripts
* update build concurrency
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* chore(): Update dependencies usage
* fixes
* update yarn
* fixes
* fix script
* Create heavy-suns-tickle.md
* update changeset
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2025-10-31 16:44:14 +01:00
github-actions[bot]
31b9ae3d28
chore: Version Packages ( #13853 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-31 10:11:18 +01:00
github-actions[bot]
6e73f8b376
chore: Version Packages ( #13800 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-25 21:52:10 +02:00
Adrien de Peretti
d51ae2768b
chore(workflow-engine-*): cleanup and improvements ( #13789 )
...
**What**
Cleanup recent work on workflows
2025-10-23 10:50:24 +00:00
github-actions[bot]
e47f0d0271
chore: Version Packages ( #13545 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-21 09:24:59 +02:00
Adrien de Peretti
516f5a3896
fix: workflow async concurrency ( #13769 )
...
* executeAsync
* || 1
* wip
* stepId
* stepId
* wip
* wip
* continue versioning management changes
* fix and improve concurrency
* update in memory engine
* remove duplicated test
* fix script
* Create weak-drinks-confess.md
* fixes
* fix
* fix
* continuation
* centralize merge checkepoint
* centralize merge checkpoint
* fix locking
* rm only
* Continue improvements and fixes
* fixes
* fixes
* hasAwaiting will be recomputed
* fix orchestrator engine
* bump version on async parallel steps only
* mark as delivered fix
* changeset
* check partitions
* avoid saving when having parent step
* cart test
---------
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-10-20 15:29:19 +02:00
Adrien de Peretti
b43b285125
fix(): Workflow save to db + index integration instability ( #13707 )
...
**What**
- Fix index integration tests instability
- Fix workflow engine storage save to db
2025-10-08 08:45:15 +00:00
Adrien de Peretti
76aa4a48b3
fix(): workflows concurrency ( #13645 )
2025-10-02 11:11:38 -03:00
Adrien de Peretti
5b135a41fe
fix(): workflow engine migration issue ( #13629 )
...
**What**
The extension creation have been pushed by mistake
2025-09-30 15:41:09 +00:00
William Bouchard
5346079d47
chore(): create default refund reasons ( #13591 )
...
* chore(): create default refund reasons
* Create great-donuts-swim.md
* woops
* woopsie
* woopsie
* tests
* tests
* woopsie
* fml
* fix: comment
2025-09-28 10:07:48 +02:00
Adrien de Peretti
12a96a7c70
chore(): Move peer deps into a single package and re export from framework ( #13439 )
...
* chore(): Move peer deps into a single package and re export from framework
* WIP
* update core packages
* update cli and deps
* update medusa
* update exports path
* remove analyze
* update modules deps
* finalise changes
* fix yarn
* fix import
* Refactor peer dependencies into a single package
Consolidate peer dependencies into one package and re-export from the framework.
* update changeset
* Update .changeset/brown-cows-sleep.md
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* rm deps
* fix deps
* increase timeout
* upgrade version
* update versions
* update versions
* fixes
* update lock
* fix missing import
* fix missing import
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-09-22 18:36:22 +02:00
Adrien de Peretti
8ece06d8ed
chore(): upgrade mikro orm ( #13450 )
2025-09-19 21:39:18 +02:00
Adrien de Peretti
cb716856b6
fix(engine): Always create cleaner job ( #13557 )
...
RESOLVES CORE-1206
**What**
Instead of removing cleaner repeatable job and risk to remove it while other instances are still up, we always create it, since the id of a job is unique and we give one to the job, if already present it wont get added
2025-09-19 14:38:14 +00:00
github-actions[bot]
174b5b1cb7
chore: Version Packages ( #13494 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-18 18:38:07 +02:00
Adrien de Peretti
25634b0382
test(): test dynamic max workers and improve CI ( #13516 )
...
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* test(): test dynamic max workers
* Clarify test description and improve CI
2025-09-16 11:11:03 +02:00
Adrien de Peretti
ebf33bea43
fix(): pipeline missing suites ( #13457 )
...
* fix(): pipeline missing suites
* fix tax integration tests
* fix tax integration tests
* fix pipeline
* fix link integration tests
* remove old tests and move current one
* fix workflow execution integration tests
* fix tests and orchestrator
* Fix missing suites in pipeline
Remove integration-tests-modules from patch list.
2025-09-15 12:54:57 +02:00
github-actions[bot]
6525ac5c1c
chore: Version Packages ( #13354 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 15:42:43 +02:00
Adrien de Peretti
0b55295fc7
Revert "chore(): Upgrade mikro orm ( #13390 )" ( #13449 )
...
This reverts commit a095245d71 .
2025-09-09 20:06:31 +02:00
Adrien de Peretti
a095245d71
chore(): Upgrade mikro orm ( #13390 )
...
* chore(): Upgrade mikro orm
* handle 'null' value for big number props
* 6.5.2
* remove only
* fix pricing module rule value
* switch select in strategy for balances
* revert to select in strategy for order module
* fix defining DML ManyToOne
* fix define relationship
* test fix
* more fixes
* change order strategy to balanced
* change order strategy to balanced
* prevent unnecessary manager fork
* revert generated www changes
* remove unnecessary changes
* Create real-cobras-deny.md
* address feedback
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2025-09-08 21:10:44 +02:00
Adrien de Peretti
fc4d5f0ac9
chore(): Workflow engine timers and notification improvements ( #13434 )
...
RESOLVES CORE-1177
**What**
main changes are:
- not blocking execution when notifying
- timers management
- race condition checks improvements
2025-09-08 18:19:55 +00:00
Adrien de Peretti
d7692100e7
chore(orchestration): add support for autoRetry, maxAwaitingRetries, retryStep ( #13391 )
...
RESOLVES CORE-1163
RESOLVES CORE-1164
**What**
### Add support for non auto retryable steps.
When marking a step with `maxRetries`, when it will fail it will be marked as temporary failure and then retry itself automatically. Thats the default behaviour, if you now add `autoRetry: false`, when the step will fail it will be marked as temporary failure but not retry automatically. you can now call the workflow engine run to resume the workflow from the failing step to be retried.
### Add support for `maxAwaitingRetries`
When setting `retyIntervalAwaiting` a step that is awaiting will be retried after the specified interval without maximun retry. Now you can set `maxAwaitingRetries` to force a maximum awaiting retry number
### Add support to manually retry an awaiting step
In some scenario, either a machine dies while a step is executing or a step is taking longer than expected, you can now call `retryStep` on the workflow engine to force a retry of the step that is supposedly stucked
2025-09-08 12:46:30 +00:00
Adrien de Peretti
2b89510df3
chore(): only execute race execution checks and publish message only for async workflows ( #13396 )
...
* chore(): only execute race execution checks for async workflows
* chore(): workflow redis publish only for async flows
* Create cyan-gorillas-poke.md
* chore(): workflow redis publish only for async flows
* fix negative check
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2025-09-04 09:12:09 +02:00
Adrien de Peretti
bd206cb250
chore(): improve workflow engine storage ( #13345 )
...
* chore(workflow-engines): Improve race condition management
* cleanup
* cleanup
* chore(workflow-engines): Improve race condition management
* chore(workflow-engines): Improve race condition management
* chore(workflow-engines): heartbeat extend TTL
* Refactor chore title for workflow engine improvements
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* chore(): Improve workflow execution db interaction
* update tests
* revert idempotent
* add run_id index + await deletion
* improve saving
* comment
* remove only
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2025-09-02 11:18:12 +02:00
github-actions[bot]
6dca59d0a5
chore: Version Packages ( #13338 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 22:58:13 +02:00
github-actions[bot]
08ec3ed9f2
chore: Version Packages ( #13209 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 17:25:32 +02:00
Carlos R. L. Rodrigues
9412669e65
chore: idempotent cart operations ( #13236 )
...
* chore(core-flows): idempotent cart operations
* changeset
* add tests
* revert
* revert route
* promo test
* skip bugs
* fix test
* tests
* avoid workflow name conflict
* prevent nested workflow from being deleted until the top level parent finishes
* remove unused setTimeout
* update changeset
* rm comments
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2025-08-28 15:04:00 +02:00
Adrien de Peretti
ff152e7ace
fix(orchestration): Use the step definition max retries on set step failure ( #13319 )
...
* fix(orchestration): Use the step definition max retries on set step failure
* Create sweet-turkeys-wait.md
* allow to force permanent failure
* update changeset
2025-08-28 14:35:31 +02:00
github-actions[bot]
01fa17d2ad
chore: Version Packages ( #13045 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-14 13:23:45 +02:00
Carlos R. L. Rodrigues
b1cba9fdeb
fix(workflow-engine-inmemory): fix cron job schedule ( #13151 )
2025-08-06 11:14:44 -03:00
github-actions[bot]
137ea0883d
chore: Version Packages ( #12924 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-24 09:41:35 +02:00
Adrien de Peretti
7b1debfe12
fix(wfe): add missing state in inmemory notify on run finished ( #12987 )
2025-07-18 11:25:02 +02:00
Adrien de Peretti
238e7d53c1
fix(wfe): should notify when finished + add state info ( #12982 )
2025-07-18 09:20:46 +02:00
Adrien de Peretti
c5d609d09c
fix(orchestration): Prevent workf. cancellation to execute while rescheduling ( #12903 )
...
**What**
Currently, when cancelling async workflows, the step will get rescheduled while the current worker try to continue the execution leading to concurrency failure on compensation. This pr prevent the current worker from executing while an async step gets rescheduled
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2025-07-16 14:44:09 +00:00
Adrien de Peretti
eb83954f23
chore(workflow-engine-*): Align event subscribers management ( #12976 )
...
* chore(workflow-engine-*): Align event subscribers management
* Create nervous-eels-build.md
2025-07-16 16:34:47 +02:00
github-actions[bot]
b7aa719540
chore: Version Packages ( #12883 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-08 19:49:15 +02:00
Adrien de Peretti
2f70f13351
fix(): Order constraint and receive return ( #12889 )
...
**What**
- Fix missing `ON DELETE CASCADE` constraint on order credit lines
- Fix `receiveReturn` miss usage
- Make all order integration tests to run and rename them all to `*.spec.ts`
- Fix package.json typo
2025-07-04 12:59:50 +00:00
github-actions[bot]
22396134b3
chore: Version Packages ( #12832 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-30 16:16:24 +02:00
Adrien de Peretti
95d282e8ef
fix: test utils events + workflow storage ( #12834 )
...
* feat(test-utils): Make event subscriber waiter robust and concurrent
* feat(test-utils): Make event subscriber waiter robust and concurrent
* fix workflows storage
* remove timeout
* Create gentle-teachers-doubt.md
* revert timestamp
* update changeset
* fix execution loop
* exit if no steps to await
* typo
* check next
* check next
* changeset
* skip when async steps
* wait workflow executions utils
* wait workflow executions utils
* wait workflow executions utils
* increase timeout
* break loop
---------
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2025-06-30 13:34:08 +02:00
github-actions[bot]
628e8d22ee
chore: Version Packages ( #12691 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-25 11:41:13 +02:00
Adrien de Peretti
316a325b63
fix(workflow-engine-*): Cleanup expired executions and reduce redis storage usage ( #12795 )
2025-06-24 13:32:10 +02:00
Oli Juhl
1c987540aa
fix(workflow-engine-redis): Ensure PK is set without errors ( #12775 )
...
* fix(workflow-engine-redis): Align naming of migration
* change approach
2025-06-19 20:19:01 +02:00