Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/sim/lib/workflows/executor/execute-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,12 @@ export async function executeWorkflowService(
} finally {
abortSignal?.removeEventListener('abort', abortFromRequest)
timeoutController.cleanup()
/**
* The sync result is the run's receipt: callers read its log, state, and cost as
* soon as it lands (a run-from-block names it as its source run). The core
* finalizes those in the background, so hold the result until they are durable.
*/
await loggingSession.waitForPostExecution()
}
}

Expand Down
Loading