Skip to content

Conversation

@Tratcher
Copy link
Contributor

@Tratcher Tratcher commented Oct 2, 2025

These features are moving to the core CLI and no longer need to be overridden in the extension.
Greedygre/azure-cli#4

Also fixed a typo in the name of create_vnet_subnet so it is the same in both repos.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Oct 2, 2025

⚠️Azure CLI Extensions Breaking Change Test
⚠️containerapp
rule cmd_name rule_message suggest_message
⚠️ 1004 - CmdPropRemove containerapp env http-route-config create cmd containerapp env http-route-config create removed property is_preview
⚠️ 1004 - CmdPropRemove containerapp env http-route-config delete cmd containerapp env http-route-config delete removed property is_preview
⚠️ 1004 - CmdPropRemove containerapp env http-route-config list cmd containerapp env http-route-config list removed property is_preview
⚠️ 1004 - CmdPropRemove containerapp env http-route-config show cmd containerapp env http-route-config show removed property is_preview
⚠️ 1004 - CmdPropRemove containerapp env http-route-config update cmd containerapp env http-route-config update removed property is_preview
⚠️ 1006 - ParaAdd containerapp env premium-ingress add cmd containerapp env premium-ingress add added parameter max_replicas
⚠️ 1006 - ParaAdd containerapp env premium-ingress add cmd containerapp env premium-ingress add added parameter min_replicas
⚠️ 1004 - CmdPropRemove containerapp env premium-ingress add cmd containerapp env premium-ingress add removed property is_preview
⚠️ 1004 - CmdPropRemove containerapp env premium-ingress remove cmd containerapp env premium-ingress remove removed property is_preview
⚠️ 1004 - CmdPropRemove containerapp env premium-ingress show cmd containerapp env premium-ingress show removed property is_preview
⚠️ 1006 - ParaAdd containerapp env premium-ingress update cmd containerapp env premium-ingress update added parameter max_replicas
⚠️ 1006 - ParaAdd containerapp env premium-ingress update cmd containerapp env premium-ingress update added parameter min_replicas
⚠️ 1004 - CmdPropRemove containerapp env premium-ingress update cmd containerapp env premium-ingress update removed property is_preview

@azure-client-tools-bot-prd
Copy link

Hi @Tratcher,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Collaborator

yonzhan commented Oct 2, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

Hi @Tratcher

Release Suggestions

Module: containerapp

  • Update VERSION to 1.2.0b5 in src/containerapp/setup.py

Notes

@Tratcher Tratcher changed the title Remove GA ingress, routing [containerapp env] Remove GA ingress, routing Oct 2, 2025
g.custom_command('delete', 'delete_managed_environment', supports_no_wait=True, confirmation=True, exception_handler=ex_handler_factory())
g.custom_command('update', 'update_managed_environment', supports_no_wait=True, exception_handler=ex_handler_factory())

with self.command_group('containerapp env http-route-config', is_preview=True) as g:
Copy link
Contributor

@Greedygre Greedygre Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid breaking change, we can remove the is_preview=True in extension first.
Then after azure-cli release, we update "azext.minCliCoreVersion": <azure-cli-version> in azext_metadata.json first, then remove these GA commands in extension.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if we just wait to merge this until after the azure-cli release?

Copy link
Contributor

@Greedygre Greedygre Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Tratcher It depends on if you mind customer will see the Preview tag if they already install latest containerapp extension and azure-cli version.
If you care the Preview Tag, it should separate to 2 PR.

image

Copy link
Contributor

@Greedygre Greedygre Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yes we can just wait to merge until after the azure-cli release.
Besides I will discuss the azure-cli-extension containerapp module release plan for ignite with co-workers after holiday to double check if we have plan to release a new version to separate these.

@Tratcher Tratcher marked this pull request as ready for review November 4, 2025 18:19
Copilot AI review requested due to automatic review settings November 4, 2025 18:20
@Tratcher
Copy link
Contributor Author

Tratcher commented Nov 4, 2025

CLI 2.79.0 has shipped, this can merge now.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes deprecated preview features and fixes a typo in a test utility function name. The main changes include:

  • Correcting the function name from create_vent_subnet to create_vnet_subnet (fixing a typo)
  • Removing the HTTP route config feature (commands, implementation, parameters, and help text)
  • Removing the premium ingress feature (commands, implementation, parameters, and help text)
  • Deleting a test file that tested the removed HTTP route config feature

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/containerapp/azext_containerapp/tests/latest/utils.py Fixed typo in function name from create_vent_subnet to create_vnet_subnet and updated all call sites
src/containerapp/azext_containerapp/tests/latest/test_containerapp_workload_profile_commands.py Updated imports and function calls to use corrected create_vnet_subnet name
src/containerapp/azext_containerapp/tests/latest/test_containerapp_mount_secret_volume.py Updated imports and function calls to use corrected create_vnet_subnet name
src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_http_route_config.py Removed entire test file for deprecated HTTP route config feature
src/containerapp/azext_containerapp/tests/latest/test_containerapp_env_commands.py Updated imports and function calls to use corrected create_vnet_subnet name
src/containerapp/azext_containerapp/tests/latest/test_containerapp_commands.py Removed test for deprecated premium ingress feature
src/containerapp/azext_containerapp/custom.py Removed HTTP route config and premium ingress command implementations and removed unused import
src/containerapp/azext_containerapp/commands.py Removed command definitions for HTTP route config and premium ingress features
src/containerapp/azext_containerapp/_params.py Removed parameter definitions for HTTP route config and premium ingress commands
src/containerapp/azext_containerapp/_help.py Removed help documentation for HTTP route config and premium ingress commands
Comments suppressed due to low confidence (1)

src/containerapp/azext_containerapp/custom.py:1

  • The HttpRouteConfigPreviewClient import is being removed from custom.py, but the client class definition still exists in _clients.py (lines 458-543). Since this client is no longer used anywhere in the codebase after removing the HTTP route config commands, consider also removing the HttpRouteConfigPreviewClient class definition from _clients.py to avoid maintaining dead code.
# --------------------------------------------------------------------------------------------

Updated the HISTORY.rst to reflect changes in CLI commands and dependencies.
@Greedygre Greedygre changed the title [containerapp env] Remove GA ingress, routing [Containerapp] az containerapp env http-route-config/premium-ingress: Remove GA commands which exist in azure-cli version 2.79.0 Nov 5, 2025
@zhoxing-ms zhoxing-ms merged commit a8bf5ef into Azure:main Nov 6, 2025
25 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.

4 participants