Origin
Identified during review of PR #7836 (comment) and documented as a known limitation in extension-resolution-and-versioning.md.
Context
When an extension declares dependencies, the dependency installation path (manager.go:386-414) calls Install() directly without going through resolveCompatibleExtension(). This means requiredAzdVersion checks are only applied to the top-level extension, not to its transitive dependencies.
A dependency may be installed at a version whose requiredAzdVersion is not satisfied by the running azd version, potentially causing runtime failures.
Scope
Update the dependency installation path in pkg/extensions/manager.go to apply requiredAzdVersion compatibility filtering when resolving and installing transitive dependencies.
Acceptance Criteria
Origin
Identified during review of PR #7836 (comment) and documented as a known limitation in extension-resolution-and-versioning.md.
Context
When an extension declares dependencies, the dependency installation path (
manager.go:386-414) callsInstall()directly without going throughresolveCompatibleExtension(). This meansrequiredAzdVersionchecks are only applied to the top-level extension, not to its transitive dependencies.A dependency may be installed at a version whose
requiredAzdVersionis not satisfied by the runningazdversion, potentially causing runtime failures.Scope
Update the dependency installation path in
pkg/extensions/manager.goto applyrequiredAzdVersioncompatibility filtering when resolving and installing transitive dependencies.Acceptance Criteria
requiredAzdVersionfiltering