(plan: TaskLaunchPlan)
| 2680 | } |
| 2681 | |
| 2682 | private scheduleReservedTaskLaunch(plan: TaskLaunchPlan): void { |
| 2683 | assert(plan.taskId.length > 0, "scheduleReservedTaskLaunch requires taskId"); |
| 2684 | void this.enqueueReservedTaskLaunch(plan).catch((error: unknown) => { |
| 2685 | log.error("Failed to launch reserved task", { taskId: plan.taskId, error }); |
| 2686 | void this.markTaskLaunchFailed(plan.taskId, getErrorMessage(error)); |
| 2687 | }); |
| 2688 | } |
| 2689 | |
| 2690 | private scheduleMaybeStartQueuedTasks(): void { |
| 2691 | void this.maybeStartQueuedTasks().catch((error: unknown) => { |
no test coverage detected