The scenario
A user requests cancellation of a scheduled task. The scheduler validates the task state and, if running, sends a kill signal to the executor which reports the abort to a health monitor before confirming back.
What is in this drawing
Read the decisions behind it.
01
Whether to enforce cancellation for already completed tasks
02
Error handling for non-existent tasks
When designing backend job schedulers, task lifecycle management, or fault-tolerant execution systems.
More like this