MCPcopy
hub / github.com/coder/mux / enqueueReservedTaskLaunch

Method enqueueReservedTaskLaunch

src/node/services/taskService.ts:7244–7247  ·  view source on GitHub ↗
(plan: TaskLaunchPlan)

Source from the content-addressed store, hash-verified

7242 }
7243
7244 private async enqueueReservedTaskLaunch(plan: TaskLaunchPlan): Promise<void> {
7245 assert(plan.taskId.length > 0, "enqueueReservedTaskLaunch requires taskId");
7246 await this.startReservedAgentTask(plan);
7247 }
7248
7249 private async setTaskStatus(workspaceId: string, status: AgentTaskStatus): Promise<void> {
7250 assert(workspaceId.length > 0, "setTaskStatus: workspaceId must be non-empty");

Calls 2

assertFunction · 0.50

Tested by

no test coverage detected