(config *sdkproto.Config)
| 460 | } |
| 461 | |
| 462 | func (r *Runner) configure(config *sdkproto.Config) *proto.FailedJob { |
| 463 | err := r.session.Send(&sdkproto.Request{Type: &sdkproto.Request_Config{Config: config}}) |
| 464 | if err != nil { |
| 465 | return r.failedJobf("send config: %s", err) |
| 466 | } |
| 467 | return nil |
| 468 | } |
| 469 | |
| 470 | // heartbeatRoutine periodically sends updates on the job, which keeps coder server |
| 471 | // from assuming the job is stalled, and allows the runner to learn if the job |
no test coverage detected