(index: AgentTaskIndex, taskId: string)
| 6523 | } |
| 6524 | |
| 6525 | private isWorkflowOwnedTaskUsingIndex(index: AgentTaskIndex, taskId: string): boolean { |
| 6526 | assert(taskId.length > 0, "isWorkflowOwnedTaskUsingIndex: taskId must be non-empty"); |
| 6527 | return this.findWorkflowTaskOwnerInAncestry(index, taskId) != null; |
| 6528 | } |
| 6529 | |
| 6530 | private isActiveWorkspaceTurn(record: WorkspaceTurnTaskHandleRecord): boolean { |
| 6531 | if (record.status === "running" && this.isForegroundAwaiting(record.workspaceId)) { |
no test coverage detected