chore: regenerate infra/main.json with Bicep CLI 0.43.8 (fix PR #254 version downgrade)#263
Merged
Merged
Conversation
PR #254 (dev -> main) shows infra/main.json on dev was last generated with Bicep CLI 0.42.1.51946, while main is already on 0.43.8.12551. This is a downgrade in the merge surface. Recompiled infra/main.bicep using Azure CLI's bundled Bicep (0.43.8.12551) so the generator metadata on dev matches what's already in main. The bicep source is unchanged; only the four _generator blocks (root + three nested modules) and their templateHash values are updated. Once this lands on dev, regenerating against PR #254 will no longer show a Bicep version downgrade on infra/main.json. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Regenerates infra/main.json from unchanged infra/main.bicep using Bicep CLI 0.43.8.12551 to align the generator metadata on dev with what is already in main, preventing PR #254 (dev → main) from showing a Bicep version downgrade.
Changes:
- Updates the four local
_generator.versionfields from0.42.1.51946to0.43.8.12551and refreshes the associatedtemplateHashvalues (root +virtualNetwork,ai-services-deployments,ai-projectmodules). - Reorders entries in two
dependsOnarrays (storage account and AI Foundry private endpoint nested deployments) to alphabetical order, as produced by the newer Bicep compiler.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Roopan-Microsoft
approved these changes
May 27, 2026
|
🎉 This PR is included in version 2.1.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Purpose
dev → main) currently shows a Bicep version downgrade oninfra/main.json: dev was last generated with Bicep CLI 0.42.1.51946, while main is already on 0.43.8.12551. Merging chore: Dev merge to Main #254 as-is would regress main's_generatormetadata.infra/main.bicepondevusing Azure CLIs bundled Bicep (0.43.8.12551) so the generator metadata ondevmatches what is already inmain. Once this lands ondev, PR chore: Dev merge to Main #254 will no longer show a Bicep version downgrade forinfra/main.json..bicepsource is unchanged — only the four_generatorblocks (root + three nested modules) and theirtemplateHashvalues are updated. Diff is 10 lines added / 10 lines removed; no parameter, resource, or template logic is touched.Verification
Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
infra/main.json_generator.versionis now0.43.8.12551at all four occurrences (root + nested modules).git diff origin/dev -- infra/main.jsononly changesversionandtemplateHashlines (10 insertions / 10 deletions, no other modifications).infra/main.bicepis unchanged on this branch (git diff origin/dev -- infra/main.bicepis empty).dev, reopening the diff on PR chore: Dev merge to Main #254 (dev → main) no longer shows a Bicep version downgrade oninfra/main.json.Other Information
dev) so the regeneratedmain.jsonflows up.