setBuildID adds the build_id field to a tool response map when the build ID is known (non-zero).
(result map[string]any, buildID uuid.UUID)
| 152 | // setBuildID adds the build_id field to a tool response map when |
| 153 | // the build ID is known (non-zero). |
| 154 | func setBuildID(result map[string]any, buildID uuid.UUID) { |
| 155 | if buildID != uuid.Nil { |
| 156 | result["build_id"] = buildID.String() |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | // setNoBuild marks the response with no_build: true when no build |
| 161 | // was triggered. The frontend uses this flag to suppress the |
no test coverage detected