Skip to content

Conversation

@achauhan-scc
Copy link
Member


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 June 26, 2025 06:00
@azure-client-tools-bot-prd
Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

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

Hi @achauhan-scc,
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 Jun 26, 2025

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

@github-actions
Copy link

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>

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 pull request introduces the new machine learning extension alongside comprehensive test recordings covering several ML job scenarios. Key changes include:

  • New YAML recordings for automl image object detection, automode jobs, job limit scenarios, instance segmentation (both standard and automode), and multilabel image classification.
  • A complete set of recorded HTTP interactions that document expected request/response flows for each ML service scenario.

Reviewed Changes

Copilot reviewed 116 out of 1279 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/machinelearningservices/azext_mlv2/tests/latest/recordings/test_automl_image_object_detection_job.yaml Adds test recordings for an AutoML image object detection job.
src/machinelearningservices/azext_mlv2/tests/latest/recordings/test_automl_image_object_detection_automode_job.yaml Introduces test recordings for the automode variant of image object detection.
src/machinelearningservices/azext_mlv2/tests/latest/recordings/test_automl_image_job_limits_outside_sweep.yaml Provides recordings covering job limits when specified outside of sweep settings.
src/machinelearningservices/azext_mlv2/tests/latest/recordings/test_automl_image_instance_segmentation_job.yaml Adds recordings for AutoML image instance segmentation jobs.
src/machinelearningservices/azext_mlv2/tests/latest/recordings/test_automl_image_instance_segmentation_automode_job.yaml Adds automode test recordings for image instance segmentation jobs.
src/machinelearningservices/azext_mlv2/tests/latest/recordings/test_automl_image_classification_multilabel_job.yaml Provides recordings for AutoML image classification with multilabel objectives.
Comments suppressed due to low confidence (1)

src/machinelearningservices/azext_mlv2/tests/latest/recordings/test_automl_image_object_detection_job.yaml:15

  • The API version in the recorded URI is set to a placeholder value ('0000-00-00'). Please confirm that this is intentional for test normalization purposes or update it to the proper API version if required.
    uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/000000000000000/providers/Microsoft.MachineLearningServices/workspaces/000000000000000/datastores/workspaceblobstore?api-version=0000-00-00

@kairu-ms
Copy link
Contributor

kairu-ms commented Jul 3, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@github-actions
Copy link

github-actions bot commented Jul 16, 2025

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Jul 16, 2025
@github-actions github-actions bot removed the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Aug 12, 2025
@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Aug 12, 2025
@github-actions github-actions bot removed the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Aug 12, 2025
@wangzelin007
Copy link
Member

To maintain consistency with the command name, please update the directory name to ml.
This is important because our development tools, such as azdev extension build/add/* ml, depend on it.

@kairu-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@wangzelin007
Copy link
Member

Please add MIT license to each file:

# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

https://dev.azure.com/azclitools/public/_build/results?buildId=266052&view=logs&j=24167955-3a21-598f-f417-ac72576ccfb5&t=af97d9fb-f324-5ae2-8ce2-72e779a29d37

Please update the recording files to pass the test.
https://dev.azure.com/azclitools/public/_build/results?buildId=266052&view=logs&j=155127ab-52f1-52e7-0e45-625d9d7884a4&t=4bb67950-ef03-52d4-44f5-d1a8cd56c919

@achauhan-scc
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 8905 in repo Azure/azure-cli-extensions

@yonzhan
Copy link
Collaborator

yonzhan commented Aug 14, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@wangzelin007
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@wangzelin007
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@achauhan-scc
Copy link
Member Author

wheel is verified using
Azure/azureml-examples#3662

@kairu-ms kairu-ms merged commit 784dd04 into Azure:main Aug 25, 2025
24 checks passed
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ machinelearningservices-2.38.1 ] : https://dev.azure.com/msazure/One/_build/results?buildId=134894370&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