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

Method Fail

cli/cliui/provisionerjob.go:249–252  ·  view source on GitHub ↗
(stage string, duration time.Duration)

Source from the content-addressed store, hash-verified

247}
248
249func (s *stageWriter) Fail(stage string, duration time.Duration) {
250 s.flushLogs()
251 s.end(stage, duration, false)
252}
253
254//nolint:revive
255func (s *stageWriter) end(stage string, duration time.Duration, ok bool) {

Callers 15

ProvisionerJobFunction · 0.95
TestDeploymentInsightsFunction · 0.45
TestWorkspaceBuildLogsFunction · 0.45
TestWatchAgentContainersFunction · 0.45
createTaskInStateFunction · 0.45
TestTaskParamFunction · 0.45
TestAsAuthzSystemFunction · 0.45
assertGoCommentFirstFunction · 0.45
findMethod · 0.45

Calls 2

flushLogsMethod · 0.95
endMethod · 0.95

Tested by 15

TestDeploymentInsightsFunction · 0.36
TestWorkspaceBuildLogsFunction · 0.36
TestWatchAgentContainersFunction · 0.36
createTaskInStateFunction · 0.36
TestTaskParamFunction · 0.36
TestAsAuthzSystemFunction · 0.36
TestDriverFunction · 0.36
setOpenAIProviderBaseURLFunction · 0.36