(ctx context.Context, task *model.SystemTask, runnerID string)
| 148 | func (asyncTaskPollHandler) NewPayload() any { return nil } |
| 149 | |
| 150 | func (asyncTaskPollHandler) Run(ctx context.Context, task *model.SystemTask, runnerID string) { |
| 151 | summary := service.RunTaskPollingOnce(ctx, service.NewSystemTaskProgressReporter(task, runnerID)) |
| 152 | finishSystemTaskHandler(task, runnerID, model.SystemTaskStatusSucceeded, summary, nil) |
| 153 | } |
| 154 | |
| 155 | func finishSystemTaskHandler(task *model.SystemTask, runnerID string, status model.SystemTaskStatus, result any, runErr error) { |
| 156 | errorMessage := "" |
nothing calls this directly
no test coverage detected