Skip to content

Comments

support drift dependencies command#22

Merged
aatarasoff merged 1 commit intomainfrom
drift-dependencies
Feb 21, 2026
Merged

support drift dependencies command#22
aatarasoff merged 1 commit intomainfrom
drift-dependencies

Conversation

@aatarasoff
Copy link
Contributor

This pull request adds support for evaluating and displaying dependency drift status for modules, including new protobuf message types and CLI commands. It introduces a new dependencies subcommand to the drift CLI, updates the protobuf definitions to support dependency drift status and recommendations, and documents the new functionality. There are also minor updates to the Docker build environment.

Dependency Drift Status Feature:

  • Added new protobuf message types in gen/pbuf-registry/v1/drift.pb.go for DependencyDriftStatus, GetModuleDependencyDriftStatusRequest, GetModuleDependencyDriftStatusResponse, and the DependencyDriftRecommendation enum. These enable tracking and recommending actions for dependency drift in modules. [1] [2] [3] [4]
  • Updated protobuf message indices for existing types to accommodate new messages. [1] [2] [3] [4] [5] [6]

CLI Enhancements:

  • Added a new dependencies subcommand to the drift CLI (cmd/drift.go) that fetches and displays dependency drift status for a module, optionally filtered by tag. Also includes a helper function for formatted output. [1] [2]
  • Updated imports in cmd/drift.go to support new functionality.

Documentation:

  • Updated README.md to document the new pbuf drift dependencies command and its usage.

Build Environment:

  • Updated the Docker build image in the Makefile from golang:1.21.1 to golang:1.25 for improved compatibility and performance.

@aatarasoff aatarasoff self-assigned this Feb 21, 2026
@aatarasoff aatarasoff merged commit 4382fed into main Feb 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant