You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature
This checklist is used to make sure that common guidelines for a pull request are followed.
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:
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refines the error handling for the "az containerapp revision copy" command so that only a 404 error will result in a "containerapp does not exist" message.
Updated imports to include handle_non_404_status_code_exception
Replaced a generic exception catch with a more explicit exception handler to delegate non-404 status code errors
Greedygre
changed the title
[Containerapp] az containerapp revision copy: Only return containerapp does not exist when got 404
Fix issues #31480: [Containerapp] az containerapp revision copy: Only return containerapp does not exist when got 404
Jun 23, 2025
Greedygre
changed the title
Fix issues #31480: [Containerapp] az containerapp revision copy: Only return containerapp does not exist when got 404
Fix issues #31480: [Containerapp] az containerapp revision copy: Only return containerapp does not exist when got 404
Jun 23, 2025
Greedygre
changed the title
Fix issues #31480: [Containerapp] az containerapp revision copy: Only return containerapp does not exist when got 404
Fix #31480: [Containerapp] az containerapp revision copy: Only return containerapp does not exist when got 404
Jun 23, 2025
Azure Pipelines successfully started running 3 pipeline(s).
Greedygre
changed the title
Fix #31480: [Containerapp] az containerapp revision copy: Only return containerapp does not exist when got 404
[Containerapp] Fix #31480: az containerapp revision copy: Only return containerapp does not exist when got 404
Jun 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related command
az containerapp revision copyFix: #31480
Description
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.