Forcefully terminate a work order’s agent process
wo_abc123)| Scenario | Behavior |
|---|---|
immediate: true | Sends SIGKILL immediately |
immediate: false | Sends SIGTERM, waits gracePeriodMs, then SIGKILL if needed |
| No running process | Returns success with durationMs: 0 |
| Process in container | Terminates container |
| Process in subprocess | Terminates process tree |
| Aspect | Cancel | Force Kill |
|---|---|---|
| Signal | SIGTERM only | SIGTERM then SIGKILL |
| Wait time | System default | Configurable grace period |
| Use case | Normal shutdown | Stuck processes |
| Result status | canceled | failed or canceled |