You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, task suspension did not properly cancel running task execution,
causing tasks to continue processing even after being marked as suspended.
Key changes:
• Add TaskSuspendedEvent to distinguish suspension from normal task events
• Subscribe to suspension events in TaskReconciler to cancel active tasks
• Resume tasks when new messages arrive by resetting DesiredPhase to running
• Check DesiredPhase instead of Phase when computing task status
This ensures tasks can be properly interrupted and later resumed without
leaving zombie executions running in the background.
Co-authored-by: construct-agent <noreply@construct.sh>
0 commit comments