Skip to content

chore: code cleanup#2200

Open
Ayaz-Microsoft wants to merge 2 commits intoAzure-Samples:devfrom
Ayaz-Microsoft:code-remove
Open

chore: code cleanup#2200
Ayaz-Microsoft wants to merge 2 commits intoAzure-Samples:devfrom
Ayaz-Microsoft:code-remove

Conversation

@Ayaz-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

  • ...Remove unused infra modules. These modules are no longer needed and have been deleted to streamline the infrastructure codebase.

-Disable prompt_flow from UI

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

…, connection, and workspace. These modules are no longer needed and have been deleted to streamline the infrastructure codebase.

-Disable prompt_flow from UI

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Reverts the prompt_flow UI filter from commit b15c665. Bicep cleanup (orphaned ML modules + unused DNS zone) is preserved. No prompt_flow related code is changed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
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 streamlines the infrastructure layer by removing unused Azure Machine Learning (AML) workspace-related Bicep modules and updating the root infra template/compiled ARM output to reflect the removal (including dropping the AML private DNS zone entry).

Changes:

  • Deleted unused AML workspace / connection / compute Bicep modules under infra/modules/machine-learning-services/workspace/.
  • Removed privatelink.api.azureml.ms from the privateDnsZones list and dropped the corresponding dnsZoneIndex.machinelearning entry.
  • Regenerated infra/main.json to reflect the above template updates.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
infra/modules/machine-learning-services/workspace/ml_workspace.bicep Removed unused AML workspace module.
infra/modules/machine-learning-services/workspace/connection/connection.bicep Removed unused AML workspace connection module.
infra/modules/machine-learning-services/workspace/compute/compute.bicep Removed unused AML workspace compute module.
infra/main.bicep Removed AML private DNS zone entry and updated DNS zone index map accordingly.
infra/main.json Updated generated ARM template to match main.bicep changes (including generator metadata changes).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infra/main.json
Comment on lines 6 to 10
"_generator": {
"name": "bicep",
"version": "0.42.1.51946",
"templateHash": "16421140691716802279"
"version": "0.41.2.15936",
"templateHash": "3012272495014352042"
}
Comment thread infra/main.bicep
Comment on lines 621 to 625
'privatelink.file.${environment().suffixes.storage}'
'privatelink.search.windows.net'
'privatelink.cognitiveservices.azure.com'
'privatelink.openai.azure.com'
'privatelink.vaultcore.azure.net'
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.

2 participants