#abort
3 messages · Page 1 of 1 (latest)
Hi @turbid trellis. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
I'm sorry, but the knowledge sources do not describe a way to truly abort (i.e., stop execution of) an in-progress Convex action midflight. Both the Action Retrier and Workflow components allow you to cancel future retries or prevent further steps from running, but they do not stop an action that is already executing—any in-progress work will continue until it completes. Canceling a run or workflow only prevents further execution after the current step finishes, not during its execution.
For example, the Action Retrier's cancel method and the Workflow's cancel method both state that in-progress actions or steps will finish executing even after cancellation is requested. This is a best-effort cancellation and does not guarantee immediate abortion of running code Action Retrier API Workflow Canceling.