Skip to content

Support versioning when installing site extensions in AzureAppService… #21060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

rm-dmiri
Copy link
Contributor

…ManageV0 task

Context

Adds support for installing Azure App Service site extensions with explicit version selection, improving flexibility and aligning with user requests for more granular extension management.
📌 Related work item


Task Name

AzureAppServiceManageV0


Description

  • Adds support for specifying site extensions as name@version (e.g., MyExtension@1.2.3) via the EnableExtensionVersionSupport feature flag.
  • If a version is provided (except "latest"), installs that specific version using installSiteExtensionWithVersion.
  • If version is "latest", installs the latest available version.
  • If no version is provided, installs the extension only if not already present (does not update or reinstall).
  • Improves input parsing and error handling for malformed extension strings.
  • Updates documentation and unit tests to cover new scenarios.
  • No telemetry is emitted; only warnings and debug logs are used.

Risk Assessment (Low / Medium / High)

Low — Changes are behind a feature flag and maintain backward compatibility.


Unit Tests Added or Updated (Yes / No)

Yes — Unit tests updated and added for versioned and legacy extension install scenarios.


Additional Testing Performed

Testing in progress locally.


Documentation Changes Required (Yes / No)

Yes — Documentation updated to describe the new name@version format and feature flag usage.

Checklist

  • Related issue linked (if applicable)
  • Task version was bumped — see versioning guide
  • Verified the task behaves as expected

@rm-dmiri rm-dmiri requested review from manolerazvan and a team as code owners May 29, 2025 14:45
@rm-dmiri
Copy link
Contributor Author

/azp run

@rm-dmiri rm-dmiri requested review from manolerazvan and onetocny May 30, 2025 13:25
@rm-dmiri
Copy link
Contributor Author

There are changes added to skip installation of site extension in case that "latest" version is specified and site extension is already installed with latest version. This should save some time in task execution for such scenarios.

@rm-dmiri
Copy link
Contributor Author

rm-dmiri commented Jun 5, 2025

/azp run

@rm-dmiri rm-dmiri merged commit 175bbef into master Jun 5, 2025
5 checks passed
@rm-dmiri rm-dmiri deleted the users/davidmiri/AzureAppServiceManageV0-supportSiteExtensionVersioning-2279751 branch June 5, 2025 11:14
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.

3 participants