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:

  1. Phase 1 - Identify Go modules and constraints
  2. Phase 2 - Update Go dependencies
  3. Phase 3 - Verify (precommit checks + runner integration test)
  4. Phase 4 - Commit Go dependency changes
  5. Phase 5 - Identify Makefile tool versions
  6. Phase 6 - Upgrade Makefile tool versions (use make clean-tools to clear cached binaries)
  7. Phase 7 - Verify (precommit)
  8. Phase 8 - Commit Makefile tool version changes
  9. Phase 9 - Report summary

Additional Changes

  • Added make clean-tools target to remove cached tool binaries from .local/bin
  • Updated AGENTS.md to document the new make clean-tools command
Edited by Cameron Swords

Merge request reports

Loading