fix(core): Fix execution cancellation issues in scaling mode (#12343)

This commit is contained in:
Iván Ovejero
2024-12-30 13:17:55 +01:00
committed by GitHub
parent 870f8640c7
commit e26b406665
4 changed files with 8 additions and 19 deletions

View File

@@ -66,7 +66,7 @@ export class WorkflowRunner {
//
// FIXME: This is a quick fix. The proper fix would be to not remove
// the execution from the active executions while it's still running.
if (error instanceof ExecutionNotFoundError) {
if (error instanceof ExecutionNotFoundError || error instanceof ExecutionCancelledError) {
return;
}