Restructure sr-go-update-deps into separate Go and Makefile phases
Changes
Split the sr-go-update-deps command into 9 phases with independent verify and commit steps for Go dependencies and Makefile tool versions.
Dependency Upgrades
| Package/Tool | Usage | Old Version | New Version |
|---|---|---|---|
go.opentelemetry.io/contrib/bridges/prometheus |
Go | v0.67.0 | v0.68.0 |
go.opentelemetry.io/contrib/exporters/autoexport |
Go | v0.67.0 | v0.68.0 |
golang.org/x/net |
Go | v0.52.0 | v0.53.0 |
golang.org/x/sys |
Go | v0.42.0 | v0.43.0 |
golang.org/x/text |
Go | v0.35.0 | v0.36.0 |
golang.org/x/crypto |
Go | v0.49.0 | v0.50.0 |
golang.org/x/exp |
Go | v0.0.0-20260312153236-7ab1446f8b90 | v0.0.0-20260410095643-746e56fc9e2f |
golang.org/x/mod |
Go | v0.34.0 | v0.35.0 |
golang.org/x/term |
Go | v0.41.0 | v0.42.0 |
google.golang.org/genproto/googleapis/api |
Go | v0.0.0-20260406210006-6f92a3bedf2d | v0.0.0-20260414002931-afd174a4e478 |
google.golang.org/genproto/googleapis/rpc |
Go | v0.0.0-20260406210006-6f92a3bedf2d | v0.0.0-20260414002931-afd174a4e478 |
protoc |
Make | 33.5 | 34.1 |
goimports |
Make | v0.40.0 | v0.44.0 |
gocover-cobertura |
Make | v1.2.0 | v1.4.0 |
New Phases for sr-go-update-deps
The command is now structured into 9 distinct phases:
- Phase 1 - Identify Go modules and constraints
- Phase 2 - Update Go dependencies
- Phase 3 - Verify (precommit checks + runner integration test)
- Phase 4 - Commit Go dependency changes
- Phase 5 - Identify Makefile tool versions
- Phase 6 - Upgrade Makefile tool versions (use
make clean-toolsto clear cached binaries) - Phase 7 - Verify (precommit)
- Phase 8 - Commit Makefile tool version changes
- Phase 9 - Report summary
Additional Changes
- Added
make clean-toolstarget to remove cached tool binaries from.local/bin - Updated
AGENTS.mdto document the newmake clean-toolscommand
Edited by Cameron Swords