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

Function setNoBuild

coderd/x/chatd/chattool/chattool.go:163–167  ·  view source on GitHub ↗

setNoBuild marks the response with no_build: true when no build was triggered. The frontend uses this flag to suppress the build-log section for already-running workspaces.

(result map[string]any, buildID uuid.UUID)

Source from the content-addressed store, hash-verified

161// was triggered. The frontend uses this flag to suppress the
162// build-log section for already-running workspaces.
163func setNoBuild(result map[string]any, buildID uuid.UUID) {
164 if buildID == uuid.Nil {
165 result["no_build"] = true
166 }
167}
168
169// isTemplateAllowed checks whether a template ID is permitted by the
170// configured allowlist. A nil function or an empty allowlist means

Callers 2

waitForAgentAndRespondFunction · 0.85
StopWorkspaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected