(record *AgentTaskRecord, terminationReason string)
| 283 | } |
| 284 | |
| 285 | func (rt *AgentTaskRuntime) FailForegroundTask(record *AgentTaskRecord, terminationReason string) { |
| 286 | rt.setForegroundTaskTerminal(record, "failed", terminationReason) |
| 287 | } |
| 288 | |
| 289 | func (rt *AgentTaskRuntime) DiscardForegroundTask(taskID string) { |
| 290 | rt.mu.Lock() |
no test coverage detected