Skip to content

Fix bicep files: update dotnet/aspire references to microsoft/aspire - #15458

Merged
Jose Perez Rodriguez (joperezr) merged 3 commits into
microsoft:mainfrom
joperezr:fix-bicep-revert
Mar 21, 2026
Merged

Jose Perez Rodriguez (joperezr) merged 3 commits into
microsoft:mainfrom
joperezr:fix-bicep-revert

Conversation

@joperezr

Copy link
Copy Markdown
Member

Description

The bicep files (both playground modules and test verified snapshots) contain GitHub issue URLs that need to point to microsoft/aspire. These were incorrectly reverted in #15452 based on the assumption that they were generated files that shouldn't be touched, but the test snapshots need to match the source code which now references microsoft/aspire.

Updates 14 bicep files:

  • 7 playground *.module.bicep files
  • 7 test *.verified.bicep snapshot files

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
    • No
  • Does the change require an update in our Aspire docs?
    • Yes
    • No

The bicep files (both playground modules and test snapshots) contain
GitHub issue URLs that need to point to microsoft/aspire. These were
incorrectly reverted in microsoft#15452.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings March 20, 2026 23:26
@github-actions

github-actions Bot commented Mar 20, 2026 •

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15458

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15458"

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

Updates Bicep modules and verified snapshot files so embedded GitHub issue URLs reference microsoft/aspire (aligning snapshots with current source output).

Changes:

  • Rewrites embedded issue links from https://github.com/dotnet/aspire/... to https://github.com/microsoft/aspire/... inside deployment script content.
  • Updates verified .verified.bicep snapshots to match the expected output.
  • (Incidental) Normalizes the first-line encoding/formatting in several snapshot files (BOM/indentation).

Reviewed changes

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

Show a summary per file
File Description
tests/Aspire.Hosting.Azure.Tests/Snapshots/RoleAssignmentTests.SqlSupport.verified.bicep Updates embedded issue URL; also changes first-line BOM/indentation.
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_SubnetBeforePrivateEndpoint.verified.bicep Updates embedded issue URL; also changes first-line BOM/indentation.
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_StorageBeforePrivateEndpoint.verified.bicep Updates embedded issue URL; also changes first-line BOM/indentation.
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitSubnet_AutoCreatesStorage.verified.bicep Updates embedded issue URL; also changes first-line BOM/indentation.
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_ExplicitStorage_AutoCreatesSubnet.verified.bicep Updates embedded issue URL; also changes first-line BOM/indentation.
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_BothExplicitSubnetAndStorage.verified.bicep Updates embedded issue URL; also changes first-line BOM/indentation.
tests/Aspire.Hosting.Azure.Tests/Snapshots/AzureSqlDeploymentScriptTests.SqlWithPrivateEndpoint_AutoCreatesBothSubnetAndStorage.verified.bicep Updates embedded issue URL; also changes first-line BOM/indentation.
playground/cdk/CdkSample.AppHost/sql-roles.module.bicep Updates embedded issue URL in PowerShell script content.
playground/bicep/BicepSample.AppHost/sql-roles.module.bicep Updates embedded issue URL in PowerShell script content.
playground/SqlServerScript/AppHost1/api2-roles-mysqlserver.module.bicep Updates embedded issue URL in PowerShell script content.
playground/SqlServerScript/AppHost1/api1-roles-mysqlserver.module.bicep Updates embedded issue URL in PowerShell script content.
playground/SqlServerEndToEnd/SqlServerEndToEnd.AppHost/sql2-roles.module.bicep Updates embedded issue URL in PowerShell script content.
playground/SqlServerEndToEnd/SqlServerEndToEnd.AppHost/sql1-roles.module.bicep Updates embedded issue URL in PowerShell script content.
playground/AzureVirtualNetworkEndToEnd/AzureVirtualNetworkEndToEnd.AppHost/api-roles-sql.module.bicep Updates embedded issue URL in PowerShell script content.

@@ -1,4 +1,4 @@
@description('The location for the resource(s) to be deployed.')
@description('The location for the resource(s) to be deployed.')

Copilot AI Mar 20, 2026

Copy link

Choose a reason for hiding this comment

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

This PR is described as updating dotnet/aspire URLs to microsoft/aspire, but this snapshot also changes the file’s first-line formatting/encoding (the previous version appears to have included a BOM and different indentation). This adds unrelated churn and may cause platform/tooling differences in snapshot comparisons. Recommendation (moderate): regenerate snapshots using the standard snapshot tooling (or restore the original encoding/whitespace) so the diff is limited to the intended URL changes.

Copilot uses AI. Check for mistakes.
The microsoft org does not have macos-latest runners available for this
repo yet, causing macOS jobs to hang indefinitely in queued state.

Disabled build_cli_archive_macos and tests_requires_nugets_macos jobs,
removed them from the results gate dependencies and failure conditions,
and commented out the macOS artifact download step.

Each change is marked with a comment linking to the tracking issue.

Tracking issue: microsoft#15461

Co-authored-by: Copilot <[email protected]>
@joperezr

Copy link
Copy Markdown
Member Author

The Kusto emulator test failures (\KustoEmulator_WithDatabaseThatAlreadyExists_ErrorIsIgnored\ and \KustoEmulator_WithInvalidDatabase_LogsErrorAndContinues) are unrelated to this PR. They are tracked by #15463 and caused by the \kustainer-linux:latest\ emulator image emitting unexpected DI errors on Linux.

@joperezr
Jose Perez Rodriguez (joperezr) merged commit 7ca3371 into microsoft:main Mar 21, 2026
248 of 251 checks passed
@joperezr Jose Perez Rodriguez (joperezr) added this to the 13.3 milestone Apr 14, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

No documentation PR is required for this change.

Reason: This PR only updates internal references in bicep playground modules and test snapshot files — correcting dotnet/aspire URLs to microsoft/aspire. There are no user-facing behavior changes, public API additions, new configuration options, or documented features affected. The existing docs already fully cover all relevant behavior.

Generated by PR Documentation Check · ● 85.2K · ◷

@github-actions github-actions Bot locked and limited conversation to collaborators Jun 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants