Skip to content

Use cloud icon for Azure environment - #20011

Open
Maddy Montaquila (maddymontaquila) wants to merge 2 commits into
mainfrom
azure-environment-cloud-icon
Open

Use cloud icon for Azure environment#20011
Maddy Montaquila (maddymontaquila) wants to merge 2 commits into
mainfrom
azure-environment-cloud-icon

Conversation

@maddymontaquila

Copy link
Copy Markdown
Contributor

Description

The new azure-environment control resource currently uses the dashboard's generic cog fallback, which makes it difficult to distinguish from other unknown resource types. This change assigns the Fluent UI CloudCube icon to better represent an Azure environment that contains and manages cloud resources.

User-facing usage

The Resources page now displays a filled cloud-and-cube icon next to the azure-environment resource instead of the generic cog.

The Azure environment builder test verifies that the resource publishes the expected icon annotation.

Fixes # (issue)

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
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 916598a2-fbff-4cd6-bfbb-d1576396f17f
@github-actions

github-actions Bot commented Sep 9, 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 -- 20011

Or

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

@github-actions
github-actions Bot requested a balanced review from Copilot September 9, 2026 17:46
@github-actions github-actions Bot added the area-integrations Issues pertaining to Aspire Integrations packages label Sep 9, 2026
@github-actions

This comment has been minimized.

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.

Copilot review overview

🟢 Approval recommended

The behavior is correct and tested; only a minor test-comment convention cleanup remains.

Review tier: Balanced
Findings: 1 Low severity

New issues introduced by this change (1)
Severity Finding
Low severity tests/​Aspire.Hosting.Azure.Tests/​AzureEnvironmentResourceExtensionsTests.cs — Repository test guidance explicitly prohibits Arrange/Act/Assert comments (AGENTS.md:282). Remove…
What changed in this PR

Assigns the CloudCube icon to Azure environment resources.

Changes:

  • Applies the filled CloudCube icon in run and publish modes.
  • Adds focused annotation coverage.
File Description
src/​Aspire.Hosting.Azure/​AzureEnvironmentResourceExtensions.cs Configures the Azure environment icon.
tests/​Aspire.Hosting.Azure.Tests/​AzureEnvironmentResourceExtensionsTests.cs Verifies icon name and variant.

Comment thread tests/Aspire.Hosting.Azure.Tests/AzureEnvironmentResourceExtensionsTests.cs Outdated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 916598a2-fbff-4cd6-bfbb-d1576396f17f

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.

Copilot review overview

🟢 Approval recommended

The icon configuration is correct, mode-consistent, and covered by a focused test.

Review tier: Balanced
Findings: None

Issues resolved since last review (1)
Severity Finding
Low severity tests/​Aspire.Hosting.Azure.Tests/​AzureEnvironmentResourceExtensionsTests.cs — Repository test guidance explicitly prohibits Arrange/Act/Assert comments (AGENTS.md:282). Remove… View resolved comment

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Tests selector

11 / 99 PR test projects · 2 PR jobs · 1 advisory-only target, from 2 changed files.

Selected PR test projects (11 / 99)

Aspire.Hosting.Azure.Kubernetes.Tests, Aspire.Hosting.Azure.Kusto.Tests, Aspire.Hosting.Azure.Tests, Aspire.Hosting.Blazor.Tests, Aspire.Hosting.CodeGeneration.TypeScript.Tests, Aspire.Hosting.Docker.Tests, Aspire.Hosting.Dotnet.Tests, Aspire.Hosting.Foundry.Tests, Aspire.Hosting.Radius.Tests, Aspire.Hosting.Tests, Aspire.Playground.Tests

Selected PR jobs (2)

extension-e2e, typescript-api-compat

Advisory workflow impact (1)

  • deployment-e2e (schedule/dispatch-only)

How these were chosen — grouped by what changed

⚠️ 10 of the 11 selected test projects come from a single change — src/Aspire.Hosting.Azure/AzureEnvironmentResourceExtensions.cs.

🔧 src/Aspire.Hosting.Azure/AzureEnvironmentResourceExtensions.cs (changed source)
1 directly: Aspire.Hosting.Azure.Tests
9 via the project graph: Aspire.Hosting.Azure.Kusto.Tests (2 hops), Aspire.Hosting.Blazor.Tests (3 hops), Aspire.Hosting.CodeGeneration.TypeScript.Tests (2 hops), Aspire.Hosting.Docker.Tests (2 hops), Aspire.Hosting.Dotnet.Tests (3 hops), Aspire.Hosting.Foundry.Tests (2 hops), Aspire.Hosting.Radius.Tests (3 hops), Aspire.Hosting.Tests (2 hops), Aspire.Playground.Tests (2 hops)

🧪 tests/Aspire.Hosting.Azure.Tests/AzureEnvironmentResourceExtensionsTests.cs (changed test)
1 directly: Aspire.Hosting.Azure.Tests
1 via the project graph: Aspire.Hosting.Azure.Kubernetes.Tests

Job reasons

Job Triggered by
deployment-e2e affected project Aspire.Hosting.Azure
extension-e2e src/Aspire.Hosting.Azure/AzureEnvironmentResourceExtensions.cs
• affected project Aspire.Hosting.Azure
typescript-api-compat affected project Aspire.Hosting.Azure

Selection computed for commit 7ed4cb4.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

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

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants