Skip to content

{ServiceFabric} Bump azure.mgmt.servicefabricmanagedclusters package version from 2.1.0.1b (2024-06-01-preview) to 2.1.0.3b (2025-03-01-preview)#31949

Open
iliu816 wants to merge 11 commits into
Azure:devfrom
iliu816:user/iliu/2025-03-01-preview
Open

{ServiceFabric} Bump azure.mgmt.servicefabricmanagedclusters package version from 2.1.0.1b (2024-06-01-preview) to 2.1.0.3b (2025-03-01-preview)#31949
iliu816 wants to merge 11 commits into
Azure:devfrom
iliu816:user/iliu/2025-03-01-preview

Conversation

@iliu816

@iliu816 iliu816 commented Aug 14, 2025

Copy link
Copy Markdown
Member

Related command

az sf

Description

Bump the backing azure.mgmt.servicefabricmanagedclusters package version from 2.1.0.1b to 2.1.0.3b and modified backing logic of commands to accommodate.

Testing Guide

N/A, reran scenario tests.

History Notes

{ServiceFabric} Bump azure.mgmt.servicefabricmanagedclusters package version from 2.1.0.1b to 2.1.0.3b


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

Copilot AI review requested due to automatic review settings August 14, 2025 18:26
@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Aug 14, 2025

Copy link
Copy Markdown
️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Aug 14, 2025

Copy link
Copy Markdown
❌AzureCLI-BreakingChangeTest
❌acs
rule cmd_name rule_message suggest_message
1007 - ParaRemove aks nodepool add cmd aks nodepool add removed parameter enable_artifact_streaming please add back parameter enable_artifact_streaming for cmd aks nodepool add
1010 - ParaPropUpdate aks nodepool add cmd aks nodepool add update parameter spot_max_price: updated property default from nan to nan please change property default from nan to nan for parameter spot_max_price of cmd aks nodepool add
1007 - ParaRemove aks nodepool update cmd aks nodepool update removed parameter disable_artifact_streaming please add back parameter disable_artifact_streaming for cmd aks nodepool update
1007 - ParaRemove aks nodepool update cmd aks nodepool update removed parameter enable_artifact_streaming please add back parameter enable_artifact_streaming for cmd aks nodepool update
⚠️servicefabric
rule cmd_name rule_message suggest_message
⚠️ 1010 - ParaPropUpdate sf managed-node-type create cmd sf managed-node-type create update parameter disk_type: updated property choices from ['Premium_LRS', 'StandardSSD_LRS', 'Standard_LRS'] to ['PremiumV2_LRS', 'Premium_LRS', 'Premium_ZRS', 'StandardSSD_LRS', 'StandardSSD_ZRS', 'Standard_LRS']

Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:

  • Breaking changes can only be merged during the designated breaking change window
  • A pre-announcement must be released at least one month in advance

For more details on how to introduce breaking changes, refer to the documentation: azure-cli/doc/how_to_introduce_breaking_changes.md

@yonzhan

yonzhan commented Aug 14, 2025

Copy link
Copy Markdown
Collaborator

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

@github-actions

Copy link
Copy Markdown

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

This PR bumps the azure.mgmt.servicefabricmanagedclusters package version from 2.1.0b1 to 2.1.0b3 and updates the related code to accommodate changes in the SDK structure. The primary change involves wrapping model properties in a properties object, requiring updates to test assertions and operational code.

Key changes include:

  • Package version bump in dependency files
  • Adaptation of test files to use the new properties wrapper structure
  • Updates to operations code to work with the new SDK model structure

Reviewed Changes

Copilot reviewed 12 out of 25 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
setup.py, requirements files Updates package version from 2.1.0b1 to 2.1.0b3
test_util.py Updates helper functions to use properties wrapper in assertions
test_sf_managed_cluster.py Converts test assertions to use properties structure
test_sf_managed_application.py Updates application test assertions for new SDK structure
test_sf_application.py Sanitizes sensitive data in test URLs
test_application_related.yaml Sanitizes sensitive data in recorded test responses
managed_node_types.py Updates node type operations to use properties wrapper
managed_clusters.py Updates cluster operations to use properties wrapper
managed_applications.py Updates application operations to use properties wrapper

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@iliu816 iliu816 changed the title {ServiceFabric} Bump azure.mgmt.servicefabricmanagedclusters package version from 2.1.0.1b to 2.1.0.3b {ServiceFabric} Bump azure.mgmt.servicefabricmanagedclusters package version from 2.1.0.1b (2024-06-01-preview) to 2.1.0.3b (2025-03-01-preview) Aug 14, 2025
@yanzhudd

Copy link
Copy Markdown
Contributor

since this PR introduces a breaking change, it has to wait for the breaking change window to be released. Alternatively, you could seperate the changes into one PRs: one containing a breaking change and one without.

@iliu816

iliu816 commented Aug 25, 2025

Copy link
Copy Markdown
Member Author

since this PR introduces a breaking change, it has to wait for the breaking change window to be released. Alternatively, you could separate the changes into one PRs: one containing a breaking change and one without.

I don't think it is possible to actually separate out the change, the breaking change for the parameter requirement is already active on the service side due to pushes from security KPIs. If I don't mark the --package-url as required in the command, the customer requests will just fail at the service level instead.

@yanzhudd

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

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

@iliu816

iliu816 commented Aug 26, 2025

Copy link
Copy Markdown
Member Author

since this PR introduces a breaking change, it has to wait for the breaking change window to be released. Alternatively, you could seperate the changes into one PRs: one containing a breaking change and one without.

@yanzhudd I reverted marking the parameter as required, so there is no breaking change indicated for the cli anymore. However, it seems some checks are still failing on build. Could you please advise on what needs to be done to pass those checks? I don't think I touch the mentioned files. This change being merged is a blocker for other features that we want to add, so would appreciate a resolution.

@yanzhudd

Copy link
Copy Markdown
Contributor

/azp run

@necusjz

necusjz commented Jan 7, 2026

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

@JaysonTaiMicrosoft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

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

@yanzhudd

yanzhudd commented May 26, 2026

Copy link
Copy Markdown
Contributor

Hi @iliu816
May I ask if this PR is still ready to review/merge?
Please note that the code completion time for the upcoming release is on 05/26/2026 at 06:00 UTC. If you want to catch up the release train, please let us know asap.

@iliu816

iliu816 commented May 26, 2026

Copy link
Copy Markdown
Member Author

Hi @iliu816

May I ask if this PR is still ready to review/merge?

Please note that the code completion time for the upcoming release is on 05/26/2026 at 06:00 UTC. If you want to catch up the release train, please let us know asap.

@yanzhudd Hi, yes it is. I inquired about it in the review channel a couple weeks ago even.

@yanzhudd

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants