MCPcopy Index your code
hub / github.com/coder/coder / configure

Method configure

provisionerd/runner/runner.go:462–468  ·  view source on GitHub ↗
(config *sdkproto.Config)

Source from the content-addressed store, hash-verified

460}
461
462func (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

Callers 11

runTemplateImportMethod · 0.95
runTemplateDryRunMethod · 0.95
runWorkspaceBuildMethod · 0.95
auditLogs.spec.tsFile · 0.80
idpOrgSync.spec.tsFile · 0.80
auditLogs.spec.tsFile · 0.80

Calls 2

failedJobfMethod · 0.95
SendMethod · 0.65

Tested by

no test coverage detected