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
Cancellation is requested now with a transition from RUNNING -> Cancelling (CANCELLED). After cancellation completes, the state changes to Cancelled (CANCELLED). The state name is used as a filter at the agent level to avoid cancelling already cancelled runs.
There are some problems with this approach:
Concurrency slots are released immediately on transition to Cancelling — but the run is still running
The state name is being used to determine orchestration behavior — against our design for state types.
An alternative may be keeping the state name Cancelling (RUNNING), but this requires orchestration rules to allow RUNNING -> RUNNING transitions.
Impact
Improve the cancellation experience and internal coherence of orchestration.
Additional context
No response
The text was updated successfully, but these errors were encountered:
First check
Description
Cancellation is requested now with a transition from RUNNING -> Cancelling (CANCELLED). After cancellation completes, the state changes to Cancelled (CANCELLED). The state name is used as a filter at the agent level to avoid cancelling already cancelled runs.
There are some problems with this approach:
An alternative may be keeping the state name Cancelling (RUNNING), but this requires orchestration rules to allow RUNNING -> RUNNING transitions.
Impact
Improve the cancellation experience and internal coherence of orchestration.
Additional context
No response
The text was updated successfully, but these errors were encountered: