Repository navigation
Remove redundant experimental annotations from Azure Sandboxes - #20482
Conversation
The package is already prerelease, so sandbox APIs do not need the ASPIREAZURE001 opt-in. Remove obsolete suppressions from implementation code, documentation, and the deployment test AppHost. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20482Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20482" |
Tests selector2 / 99 PR test projects · 2 PR jobs, from 7 changed files. Selected PR test projects (2 / 99)
Selected PR jobs (2)
How these were chosen — grouped by what changed🔧 🔧 🔧 🔧 🔧 🔧 Job reasons
Selection computed for commit |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The changes consistently remove the targeted diagnostic metadata while preserving required shared experimental annotations and runtime behavior.
Review effort: Balanced
Findings: None
What changed in this PR
Removes redundant ASPIREAZURE001 experimental annotations from the prerelease Azure Sandboxes integration without changing runtime behavior.
Changes:
- Removes experimental attributes from sandbox public APIs.
- Removes obsolete warning suppressions and unused imports.
- Updates README and deployment fixture usage.
| File | Description |
|---|---|
tests/Aspire.Deployment.EndToEnd.Tests/AzureSandboxesDeploymentTests.cs |
Removes obsolete generated AppHost suppression. |
src/Aspire.Hosting.Azure.Sandboxes/README.md |
Removes the suppression from C# usage. |
src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxGroupResource.cs |
Removes the resource annotation. |
src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxesExtensions.cs |
Removes annotations, suppression, and unused import. |
src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxEndpointPropertyValueProvider.cs |
Removes obsolete suppression. |
src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxContainerResource.cs |
Removes obsolete suppression. |
src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxContainerOptionsAnnotation.cs |
Removes annotations and unused directives. |
src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxCleanupResource.cs |
Removes obsolete suppression. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
/backport to release/13.6 |
|
Started backporting to |
… suppression Documents changes from microsoft/aspire#20482 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Pull request created: #1759
|
|
📝 Documentation has been drafted in microsoft/aspire.dev#1759 targeting Updated the Aspire 13.6 release-notes page ( Triggered signals and evidence:
No dedicated Sandboxes integration page exists yet (only the 13.6 release-notes entry and README references Note This draft PR needs human review before merging. |
…andboxes (#20483) Backport of #20482 to release/13.6 /cc @eerhardt ## Customer Impact Customers shouldn't need to suppress experimental APIs on a prerelease package. Also, the diagnostic we use is incorrect - it is already used. We should have created a new one. ## Testing Current repo tests. ## Risk Basicaly zero. ## Regression? No Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Description
Consumers should not need to suppress
ASPIREAZURE001to use Azure Sandboxes: the entireAspire.Hosting.Azure.Sandboxespackage is already prerelease.Remove the
Experimentalattributes forASPIREAZURE001from the sandbox resource, extension methods, options, and enums. Remove obsolete warning suppressions and unused imports, including the suppression in the README and generated deployment-test AppHost.The package remains prerelease. Shared Azure experimental APIs, required internal suppressions,
ASPIRECOMPUTE002annotations, and generated API baselines are unchanged. No runtime behavior changes.User-facing usage
C# AppHosts can use the existing APIs without
#pragma warning disable ASPIREAZURE001:The corresponding TypeScript usage is unchanged:
Validation
AzureSandboxesTestspassed, with quarantined and outerloop tests excluded.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?