Enforce extension dependency versions match azd core - #9442
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dd0a80c8-ca7a-4c65-b1ff-6cd11ca6c8d7
|
Azure Pipelines: Successfully started running 1 pipeline(s). 21 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
Summary
cli/azd/go.modas the source of truth for dependencies directly required by both core and an extensionAddresses #9297.
Enforcement rules
Azure/azure-devtracking issue.go mod tidy.Commands
cd cli/azd mage checkDependencyVersions mage syncDependencyVersionsExisting drift
The initial policy file records 18 pre-existing direct dependency mismatches as temporary overrides. This blocks new unapproved drift immediately without mixing repository-wide dependency upgrades into the tooling change.
Validation
go test -tags mage .go run github.com/magefile/mage@v1.17.2 checkDependencyVersions