feat(builds): expose builder VM instance ID in build response #69
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
builder_instance_idfield to the Build API response for debugging purposesBuilderInstancefield that was already stored in build metadata but not returned to clientsChanges
openapi.yaml: Addbuilder_instance_idto Build schema (nullable string)lib/builds/types.go: AddBuilderInstanceIDfield to domainBuildstructlib/builds/storage.go: UpdatetoBuild()to copyBuilderInstance→BuilderInstanceIDcmd/api/api/builds.go: UpdatebuildToOAPI()to map the new fieldTest plan
make oapi-generateto regeneratelib/oapi/oapi.gobuilder_instance_idin build responsesnullNotes
buildToOAPIortoBuildconversion functionslib/oapi/oapi.gofile needs to be regenerated after checkout viamake oapi-generateNote
Adds the builder VM instance ID to build responses and ensures codegen stays in sync.
Buildschema withbuilder_instance_id(nullable) inopenapi.yaml; regeneratelib/oapi/oapi.goBuilderInstanceIDto domainBuild(lib/builds/types.go) and map from storedBuilderInstanceintoBuild()(lib/builds/storage.go)buildToOAPI()(cmd/api/api/builds.go).github/workflows/test.ymlto runmake oapi-generatebefore build/testsWritten by Cursor Bugbot for commit f1ef89f. This will update automatically on new commits. Configure here.