fix(executor): workflow abort has to send abort signal to route for correct state update (#2571)

This commit is contained in:
Vikhyath Mondreti
2025-12-24 02:50:58 -08:00
committed by GitHub
parent 1145f5c043
commit b1cd8d151d
9 changed files with 54 additions and 62 deletions

View File

@@ -229,7 +229,7 @@ export class LoopOrchestrator {
}
}
if (ctx.isCancelled) {
if (ctx.abortSignal?.aborted) {
logger.info('Loop execution cancelled', { loopId, iteration: scope.iteration })
return this.createExitResult(ctx, loopId, scope)
}