feat: log parent snapshot and clone names from sticky disk response #43
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
Log parent snapshot name and clone name from sticky disk response
This PR adds logging for the
parent_snapshot_nameandclone_namefields that are now returned from thegetStickyDiskgRPC call (added in https://github.com/FastActions/fa/pull/2361).Changes
getStickyDiskreturn type to includeparent_snapshot_nameandclone_namesetupStickyDiskwhen the disk is first obtainedThis will help with debugging and understanding which snapshot and clone are being used for each build.
Example output
🤖 Generated with Claude Code
Note
Log
parent_snapshot_nameandclone_namefrom sticky disk response; extendgetStickyDiskreturn type; update buf agent dependencies and addupdate-protoscript.getStickyDiskreturn to includeparent_snapshot_nameandclone_nameand map them from the gRPC response insrc/setup_builder.ts.startAndConfigureBuildkitd.@buf/blacksmith_vm-agent.bufbuild_esto1.9.0-20251006151057-c11382a97f51.2and@buf/blacksmith_vm-agent.connectrpc_esto1.6.1-20251006151057-c11382a97f51.2.package.jsonscriptupdate-protofor updating these packages.pnpm-lock.yamlaccordingly.Written by Cursor Bugbot for commit bedba08. This will update automatically on new commits. Configure here.