Skip to content

[ACR] add breaking change message#9659

Merged
necusjz merged 11 commits into
Azure:mainfrom
nguyenm2151:nguyenma/breakingchange
Mar 17, 2026
Merged

[ACR] add breaking change message#9659
necusjz merged 11 commits into
Azure:mainfrom
nguyenm2151:nguyenma/breakingchange

Conversation

@nguyenm2151

Copy link
Copy Markdown
Contributor

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI review requested due to automatic review settings March 7, 2026 03:35
@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Mar 7, 2026

Copy link
Copy Markdown
⚠️Azure CLI Extensions Breaking Change Test
⚠️acrtransfer
rule cmd_name rule_message suggest_message
⚠️ 1003 - CmdPropAdd acr export-pipeline create cmd acr export-pipeline create added property deprecate_info_target
⚠️ 1003 - CmdPropAdd acr import-pipeline create cmd acr import-pipeline create added property deprecate_info_target

@yonzhan

yonzhan commented Mar 7, 2026

Copy link
Copy Markdown
Collaborator

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

@github-actions

github-actions Bot commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds Azure CLI “breaking change” announcements to the acrtransfer extension for upcoming required parameters on pipeline create commands, along with a new scenario test and version bump.

Changes:

  • Register breaking change announcements for acr export-pipeline create and acr import-pipeline create regarding the upcoming required --storage-access-mode parameter.
  • Bump acrtransfer extension version to 1.1.1b1 and add release note entry.
  • Add a scenario test + recording for acr import-pipeline list and clean up an empty/placeholder test file.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/acrtransfer/setup.py Bumps extension version to 1.1.1b1.
src/acrtransfer/HISTORY.rst Adds release notes for the breaking change announcement.
src/acrtransfer/azext_acrtransfer/_breaking_change.py Registers breaking change notifications for pipeline create commands.
src/acrtransfer/azext_acrtransfer/init.py Imports breaking change module to trigger registration.
src/acrtransfer/azext_acrtransfer/tests/init.py Adds test package initializer.
src/acrtransfer/azext_acrtransfer/tests/latest/init.py Adds latest tests package initializer.
src/acrtransfer/azext_acrtransfer/tests/latest/test_acrtransfer_scenario.py Adds scenario test covering acr import-pipeline list.
src/acrtransfer/azext_acrtransfer/tests/latest/test_acrtransfer_scenario Removes placeholder/empty test artifact.
src/acrtransfer/azext_acrtransfer/tests/latest/recordings/test_acrtransfer_import_pipeline_list.yaml Adds recording for the new scenario test.

Comment thread src/acrtransfer/azext_acrtransfer/_breaking_change.py
Comment thread src/acrtransfer/HISTORY.rst Outdated
Comment thread src/acrtransfer/azext_acrtransfer/tests/latest/test_acrtransfer_scenario.py Outdated
@github-actions

github-actions Bot commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@nguyenm2151

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 9659 in repo Azure/azure-cli-extensions

@nguyenm2151

Copy link
Copy Markdown
Contributor Author

@yonzhan can you help me trigger the CI

@yonzhan

yonzhan commented Mar 7, 2026

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@yonzhan yonzhan requested a review from yanzhudd March 7, 2026 15:26
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@nguyenm2151

Copy link
Copy Markdown
Contributor Author

@yanzhudd the test says that I've modified index.json but i havent. Is there anyway to fix this

image

@nguyenm2151

Copy link
Copy Markdown
Contributor Author

@yanzhudd can i get help for this

@nguyenm2151

nguyenm2151 commented Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

@yonzhan can i please get some help on this. The test says I edited index.json but I dont have any changes to index.json in my PR

@necusjz

necusjz commented Mar 15, 2026

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@nguyenm2151

Copy link
Copy Markdown
Contributor Author

@necusjz can I get an approval now that the tests passed

@necusjz necusjz merged commit 18f4d36 into Azure:main Mar 17, 2026
24 checks passed
@azclibot

Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ acrtransfer-1.1.1b1 ] : https://dev.azure.com/msazure/One/_build/results?buildId=157008843&view=results

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.

6 participants