fix(workflow-engines): race condition when retry interval is used (#11771)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2025-03-12 09:53:34 -03:00
1 parent c97eaa0e0d
commit 72d2cf9207
24 files changed
+1130 -235

No files matched your search

@@ -185,7 +185,7 @@ export const workflowEngineTestSuite = (
hasAsyncSteps: true,
hasFailedSteps: false,
hasSkippedSteps: false,
hasWaitingSteps: false,
hasWaitingSteps: true,
hasRevertedSteps: false,
}),
context: expect.objectContaining({
@@ -236,6 +236,13 @@ export const workflowEngineTestSuite = (
workflow_id: "my-workflow-name",
transaction_id: "trx_123",
state: "done",
execution: expect.objectContaining({
hasAsyncSteps: true,
hasFailedSteps: false,
hasSkippedSteps: false,
hasWaitingSteps: false,
hasRevertedSteps: false,
}),
context: expect.objectContaining({
data: expect.objectContaining({
invoke: expect.objectContaining({