Repository navigation
Graduate core pipeline APIs to stable - #20809
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20809Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20809" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
The extension compatibility fixture still needs the suppression when targeting older published SDKs.
1 open finding
What changed in this PR
Graduates Aspire’s core pipeline APIs to stable without changing signatures or runtime behavior.
Changes:
- Removes
ASPIREPIPELINES001attributes and associated suppressions. - Adds regression tests for stable declarations and exported capability metadata.
- Updates TypeScript snapshot documentation without changing generated code.
| File | Description |
|---|---|
| tests/Shared/TestPipelineActivityReporter.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.TestUtilities/Utils/TestDistributedApplicationBuilder.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.TestUtilities/Helpers/JsonDocumentManifestPublisher.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Schema/SchemaTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Publishing/PublishingExtensionsTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Publishing/PipelineExecutorTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Publishing/PipelineActivityReporterTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Publishing/DotnetProgramArchiveTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Publishing/DeploymentStateManagerTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/ProjectResourceTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Pipelines/PipelineSummaryTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Pipelines/PipelineLoggerProviderTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Pipelines/DistributedApplicationPipelineTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Pipelines/CorePipelineApiTests.cs | Verifies 29 declarations are stable. |
| tests/Aspire.Hosting.Tests/Orchestrator/ApplicationOrchestratorTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/OperationModesTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/ManifestGenerationTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/DotnetProgramPublishingTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/DistributedApplicationBuilderTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/ContainerRegistryResourceTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/BuildOnlyContainerValidationTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Backchannel/AuxiliaryBackchannelTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Tests/Backchannel/AppHostBackchannelTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Rust.Tests/AddRustAppPublishTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.RemoteHost.Tests/AtsCapabilityScannerTests.cs | Verifies stable pipeline capability metadata. |
| tests/Aspire.Hosting.Radius.Tests/Secrets/SecretStoreValidationTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Secrets/SecretStoreDefaultPathTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Secrets/AddRadiusSecretStoreTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Publishing/SecretStoreConsumerBicepTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Publishing/SealedSecretPublishTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Publishing/LegacyFallbackEmissionTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Publishing/InlineSecretStoreBicepTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Publishing/ExistingSecretStoreBicepTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Publishing/BicepGenerationSimpleTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/DeploymentE2E/DeployEndToEndTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Deployment/DeployPipelineIntegrationTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Radius.Tests/Deployment/ControlPlaneVersionGateTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Kubernetes.Tests/PipelineStepTestHelpers.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Kubernetes.Tests/KubernetesPublisherTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Kubernetes.Tests/KubernetesHelmChartTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Kubernetes.Tests/KubernetesDeployTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.JavaScript.Tests/AddViteAppTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.JavaScript.Tests/AddJavaScriptAppTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Java.Tests/AddJavaAppPublishTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Foundry.Tests/ToolboxTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Foundry.Tests/PromptAgentTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.EntityFrameworkCore.Tests/EFMigrationPipelineTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Dotnet.Tests/DotnetProjectResourceTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Dotnet.Tests/DotnetProjectBuildCoordinatorTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Docker.Tests/DockerComposeTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Containers.Tests/WithDockerfileTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Snapshots/TwoPassScanningGeneratedAspire.verified.ts | Removes experimental documentation markers. |
| tests/Aspire.Hosting.Azure.Tests/ProvisioningContextProviderTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureSandboxesTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureResourcePreparerTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureEnvironmentResourceTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureEnvironmentResourceExtensionsTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureDeployerTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureContainerRegistryTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureContainerAppsTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureContainerAppExpressTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureContainerAppExpressEndpointTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureBicepResourceTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Tests/AzureAppServiceTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Kubernetes.Tests/AzureKubernetesTestBuilder.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Kubernetes.Tests/AzureKubernetesInfrastructureTests.cs | Removes pipeline suppression. |
| tests/Aspire.Hosting.Azure.Kubernetes.Tests/AzureKubernetesEnvironmentExtensionsTests.cs | Removes pipeline suppression. |
| tests/Aspire.Deployment.EndToEnd.Tests/RadiusStarterDeploymentTests.cs | Removes generated suppression and updates comment. |
| tests/Aspire.Deployment.EndToEnd.Tests/RadiusAzureResourcesDeploymentTests.cs | Removes fixture pipeline suppression. |
| tests/Aspire.Deployment.EndToEnd.Tests/KubernetesHelmChartDeploymentTests.cs | Updates generated pragma block and guard. |
| tests/Aspire.Deployment.EndToEnd.Tests/KubernetesGatewayTlsDeploymentTests.cs | Updates generated pragma block and guard. |
| tests/Aspire.Deployment.EndToEnd.Tests/AksStarterWithRedisHelmDeploymentTests.cs | Removes generated pipeline suppression. |
| tests/Aspire.Deployment.EndToEnd.Tests/AksStarterDeploymentTests.cs | Removes generated pipeline suppression. |
| tests/Aspire.Deployment.EndToEnd.Tests/AksAzureKubernetesEnvironmentGatewayDeploymentTests.cs | Updates generated pragmas, guard, and comment. |
| tests/Aspire.Deployment.EndToEnd.Tests/AksAzureKubernetesEnvironmentCertManagerDeploymentTests.cs | Updates generated pragma block and guard. |
| tests/Aspire.Cli.EndToEnd.Tests/KubernetesPublishTests.cs | Removes fixture pipeline suppression. |
| src/Shared/PublishingContextUtils.cs | Removes pipeline suppression. |
| src/Shared/CrossScopeAcrPullIdentityPreparer.cs | Removes pipeline suppression. |
| src/Shared/AzurePortalUrls.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Publishing/ResourceContainerImageManager.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Publishing/PublishingExtensions.cs | Graduates reporting extensions. |
| src/Aspire.Hosting/Publishing/PipelineExecutor.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Publishing/ManifestPublishingExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Pipelines/WellKnownPipelineTags.cs | Graduates pipeline tags. |
| src/Aspire.Hosting/Pipelines/WellKnownPipelineSteps.cs | Graduates pipeline step names. |
| src/Aspire.Hosting/Pipelines/ReportingTask.cs | Removes internal experimental annotation. |
| src/Aspire.Hosting/Pipelines/ReportingStep.cs | Removes internal experimental annotation. |
| src/Aspire.Hosting/Pipelines/PublishCompletionOptions.cs | Graduates completion options. |
| src/Aspire.Hosting/Pipelines/PipelineSummaryItem.cs | Graduates summary items. |
| src/Aspire.Hosting/Pipelines/PipelineSummary.cs | Graduates pipeline summaries. |
| src/Aspire.Hosting/Pipelines/PipelineStepHelpers.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Pipelines/PipelineStepFactoryExtensions.cs | Graduates step factory extensions. |
| src/Aspire.Hosting/Pipelines/PipelineStepFactoryContext.cs | Graduates step factory context. |
| src/Aspire.Hosting/Pipelines/PipelineStepExtensions.cs | Graduates step extensions. |
| src/Aspire.Hosting/Pipelines/PipelineStepContext.cs | Graduates step context. |
| src/Aspire.Hosting/Pipelines/PipelineStepAnnotation.cs | Graduates step annotations. |
| src/Aspire.Hosting/Pipelines/PipelineStep.cs | Graduates pipeline steps. |
| src/Aspire.Hosting/Pipelines/PipelineOptions.cs | Graduates pipeline options. |
| src/Aspire.Hosting/Pipelines/PipelineLoggerProvider.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Pipelines/PipelineEditor.cs | Graduates exported pipeline editor metadata. |
| src/Aspire.Hosting/Pipelines/PipelineContext.cs | Graduates pipeline context. |
| src/Aspire.Hosting/Pipelines/PipelineConfigurationContext.cs | Graduates configuration context. |
| src/Aspire.Hosting/Pipelines/PipelineConfigurationAnnotation.cs | Graduates configuration annotations. |
| src/Aspire.Hosting/Pipelines/PipelineActivityReporter.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Pipelines/NullPipelineActivityReporter.cs | Removes reporter and helper experimental annotations. |
| src/Aspire.Hosting/Pipelines/MarkdownString.cs | Graduates Markdown values. |
| src/Aspire.Hosting/Pipelines/IReportingTask.cs | Graduates reporting task interface. |
| src/Aspire.Hosting/Pipelines/IReportingStep.cs | Graduates reporting step interface. |
| src/Aspire.Hosting/Pipelines/IPipelineActivityReporter.cs | Graduates activity reporter interface. |
| src/Aspire.Hosting/Pipelines/Internal/FileDeploymentStateManager.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Pipelines/IDistributedApplicationPipeline.cs | Graduates pipeline interface. |
| src/Aspire.Hosting/Pipelines/DistributedApplicationPipelineExtensions.cs | Graduates pipeline extensions. |
| src/Aspire.Hosting/Pipelines/DistributedApplicationPipeline.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/IDistributedApplicationBuilder.cs | Graduates builder’s Pipeline property. |
| src/Aspire.Hosting/DistributedApplicationBuilder.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/DistributedApplication.cs | Removes scoped pipeline suppression. |
| src/Aspire.Hosting/ContainerResourceBuilderExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Backchannel/AppHostRpcTarget.cs | Removes scoped pipeline suppression. |
| src/Aspire.Hosting/Ats/PipelineExports.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/Ats/AtsTypeMappings.cs | Removes pipeline suppression. |
| src/Aspire.Hosting/ApplicationModel/DotnetProgramPublishing.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Yarp/YarpResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Testing/DistributedApplicationTestingBuilder.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Rust/RustHostingExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/Secrets/RadiusSecretStoreValidation.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/Secrets/RadiusSecretStoreExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/RadiusInfrastructure.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/RadiusEnvironmentResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/Publishing/SealedSecretApplyStep.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/Publishing/RadiusDeploymentPipelineStep.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/Publishing/RadiusBicepPublishingContext.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Radius/Publishing/RadCredentialRegisterStep.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Python/PythonAppResourceBuilderExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Kubernetes/KubernetesResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Kubernetes/KubernetesHelmChartExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Kubernetes/KubernetesEnvironmentResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Kubernetes/KubernetesEnvironmentExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Kubernetes/Deployment/HelmDeploymentEngine.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Kubernetes/CertManagerExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.JavaScript/JavaScriptHostingExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Java/JavaHostingExtensions.cs | Removes pipeline suppression pair. |
| src/Aspire.Hosting.Go/GoHostingExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Foundry/Aspire.Hosting.Foundry.csproj | Removes project-level pipeline suppression. |
| src/Aspire.Hosting.EntityFrameworkCore/EFResourceBuilderExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.EntityFrameworkCore/EFMigrationResourceBuilderExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Dotnet/DotnetProjectBuildCoordinator.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Docker/DockerComposeServiceResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Docker/DockerComposePublishingContext.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Docker/DockerComposeEnvironmentResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Docker/DockerComposeEnvironmentExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure/Provisioning/Internal/PublishModeProvisioningContextProvider.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure/AzureBicepResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Sql/AzureSqlServerResource.cs | Removes scoped pipeline suppression. |
| src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxGroupResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxesExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxContainerDeployment.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxCleanupResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Kubernetes/AzureKubernetesLoadBalancerResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Kubernetes/AzureKubernetesEnvironmentResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Kubernetes/AzureKubernetesEnvironmentResource.AksPipeline.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.Kubernetes/AzureKubernetesEnvironmentExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.ContainerRegistry/AzureContainerRegistryHelpers.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppService/AzureAppServiceWebSiteResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppService/AzureAppServiceEnvironmentExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppService/AppSvcUrls.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppContainers/ContainerAppUrls.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppResource.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppExtensions.cs | Removes pipeline suppression. |
| src/Aspire.Hosting.Azure.AppContainers/AzureContainerAppEnvironmentResource.cs | Removes pipeline suppression. |
| playground/SimplePipelines/SimplePipelines.AppHost/AppHost.cs | Demonstrates pipelines without suppression. |
| playground/publishers/Publishers.AppHost/DistributedApplicationBuilderExtensions.cs | Removes sample pipeline suppression. |
| playground/publishers/Publishers.AppHost/AppHost.cs | Removes sample pipeline suppression. |
| playground/pipelines/Pipelines.Library/DistributedApplicationPipelineExtensions.cs | Removes sample pipeline suppression. |
| playground/pipelines/Pipelines.AppHost/AppHost.cs | Removes sample pipeline suppression. |
| playground/FoundryAgentEnterprise/FoundryAgentEnterprise.AppHost/FoundryAgentEnterprise.AppHost.csproj | Removes project-level pipeline suppression. |
| playground/FoundryAgentBasic/FoundryAgentBasic.AppHost/FoundryAgentBasic.AppHost.csproj | Removes project-level pipeline suppression. |
| extension/scripts/run-e2e.js | Removes generated AppHost pipeline suppression. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟢 Approval recommended
The graduation preserves runtime contracts, includes focused metadata coverage, and retains older-SDK compatibility without unresolved blocking issues.
0 open findings
1 resolved since last review
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
James Newton-King (JamesNK)
left a comment
There was a problem hiding this comment.
Reviewed the entire diff, graduated diagnostic declarations, consumer suppressions, ATS metadata coverage, and TypeScript snapshot. No concrete issues found; the older-SDK extension compatibility suppression is retained. Local validation: git diff --check and node --check extension/scripts/run-e2e.js passed; source/snapshot preservation audited. Build/test evidence is author-reported and from CI (275 successful, 15 skipped CI checks), not local .NET execution.
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
4398188 to
8e83ec1
Compare
Tests selector50 / 98 PR test projects · 5 PR jobs, from 179 changed files. Selected PR test projects (50 / 98)
Selected PR jobs (5)
How these were chosen — grouped by what changed
🧪 show 20
🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🧪 📦 affected project 📄 📄 📄 📄 📄 📄 📄 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🔧 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 🧪 Job reasons
Selection computed for commit |
There was a problem hiding this comment.
🟢 Approval recommended
The focused graduation preserves runtime behavior, includes stability regression coverage, and retains older-SDK fixture compatibility.
0 open findings
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
## Description Consumers should no longer need `ASPIREAZURE001` suppressions to use the long-standing core Azure deployment APIs. This is the explicitly authorized, attribute-only graduation of `AzurePublishingContext`, `AzureEnvironmentResource`, and `AzureEnvironmentResourceExtensions.AddAzureEnvironment`, `WithLocation`, and `WithResourceGroup` in `Aspire.Hosting.Azure`. Remove obsolete `ASPIREAZURE001` suppressions from consumers that use only these core APIs. Preserve every signature, default, compatibility member, ATS export, method body, and provisioning/deployment behavior. Azure Sandboxes and its suppressions are untouched, as are other experimental declarations and generated `*/api/*.cs` files. No directly related documentation labels these five APIs experimental, so no documentation change is needed. **Dependency:** Core pipeline graduation [#20809](#20809) has merged into `main`. This PR has been rebased onto that change, preserving its independent graduation and suppression cleanup. `AzurePublishingContext` exposes the now-stable `IReportingStep` in its unchanged constructor; `ASPIREPIPELINES001` suppression is no longer needed. Retain the still-required `ASPIREPIPELINES002` suppression for deployment state management and all other remaining experimental diagnostics. This PR graduates only the five core Azure declarations, not additional pipeline or Sandbox APIs. ### User-facing usage Existing Azure environment configuration no longer requires `ASPIREAZURE001` suppression: ```csharp var location = builder.AddParameter("deployment-location"); var resourceGroup = builder.AddParameter("deployment-resource-group"); builder.AddAzureEnvironment() .WithLocation(location) .WithResourceGroup(resourceGroup); ``` ### Validation Run on macOS, with quarantined and outerloop tests excluded. The targeted tests and both playground builds were repeated successfully after rebasing onto the merged pipeline graduation. ```bash ./restore.sh ``` Passed during initial validation: local SDK setup and repository restore; 0 warnings, 0 errors. ```bash dotnet test --project tests/Aspire.Hosting.Azure.Tests/Aspire.Hosting.Azure.Tests.csproj --no-launch-profile -- --filter-class "*.AzureEnvironmentResourceTests" --filter-class "*.AzureEnvironmentResourceExtensionsTests" --filter-class "*.AzureBicepResourceTests" --filter-class "*.AzureRunAsEmulatorModeTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true" ``` Passed after rebase: 209 tests, 0 failures, 0 skipped. Existing tests compile without the removed core Azure suppressions. ```bash dotnet test --project tests/Aspire.Hosting.Azure.Kubernetes.Tests/Aspire.Hosting.Azure.Kubernetes.Tests.csproj --no-launch-profile -- --filter-class "*.AzureKubernetesInfrastructureTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true" ``` Passed after rebase: 45 tests, 0 failures, 0 skipped. ```bash dotnet test --project tests/Aspire.Hosting.Foundry.Tests/Aspire.Hosting.Foundry.Tests.csproj --no-launch-profile -- --filter-class "*.PromptAgentTests" --filter-class "*.ToolboxTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true" ``` Passed after rebase: 76 tests, 0 failures, 0 skipped. ```bash dotnet build playground/FoundryAgentBasic/FoundryAgentBasic.AppHost/FoundryAgentBasic.AppHost.csproj /p:SkipDashboardReference=true /p:SkipNativeBuild=true --verbosity quiet dotnet build playground/FoundryAgentEnterprise/FoundryAgentEnterprise.AppHost/FoundryAgentEnterprise.AppHost.csproj /p:SkipDashboardReference=true /p:SkipNativeBuild=true --verbosity quiet ``` Both passed after rebase: 0 warnings, 0 errors. ```bash git diff origin/main...HEAD --check ``` Passed. An additional normalized-diff check against latest `main` confirmed exactly five authorized attributes removed and no changes to signatures, defaults, method bodies, ATS exports, compatibility members, unrelated diagnostics, Sandbox files, or generated API files. No live Azure deployment or full repository test suite was run; this change does not alter runtime behavior. No new tests are added; existing targeted tests cover the preserved behavior. Fixes # (issue) ## Checklist - Is this feature complete? - [x] Yes. Ready to ship. - [ ] No. Follow-up changes expected. - Are you including unit tests for the changes and scenario tests if relevant? - [ ] Yes - [x] 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 - [x] 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 - [x] No Co-authored-by: Copilot App <[email protected]>

Description
Graduate the existing
ASPIREPIPELINES001core pipeline API family to stable so C# AppHosts and integration authors can use it without experimental-warning suppressions. This is an attribute-only graduation, not an API redesign or removal.Re-enumerated current
mainata3f44d274fe0866724aa2293f9f7fedd96786a86: 29 attributed source declarations, comprising 23 public types,IDistributedApplicationBuilder.Pipeline, and five internal types. Removed all 29 attributes, including the internal polyglot-exportedPipelineEditor, and cleaned up this diagnostic's suppressions in source, tests, playgrounds, project configuration, and generated deployment E2E fixture inputs. The extension E2E compatibility fixture intentionally retains its suppression because it also targets older published SDKs where the pipeline APIs are still experimental.All signatures, defaults, obsolete overloads, ATS exports, runtime behavior, dependency/graph semantics, and reporting behavior are unchanged. In particular,
AddStepretains its object parameters andPipelineStepretains its mutable collections.ASPIREPIPELINES002,ASPIREPIPELINES003,ASPIREPIPELINES004, and every other experimental family remain experimental. Generatedapi/*.csrelease baselines and package/version flags are untouched. No new dependencies.Added regression coverage for the 29 graduated declarations and stable ATS capability metadata, including
PipelineEditor. Regenerated and reviewed the TypeScript snapshot: only documentation comments change (143@experimentalmarkers removed); generated signatures and runtime code are identical.User-facing usage
Existing usage with the graduated SDK no longer needs an
ASPIREPIPELINES001suppression:Validation
./restore.shMSBUILDTERMINALLOGGER=false ./build.sh --build /p:SkipNativeBuild=trueMSBUILDTERMINALLOGGER=false dotnet test --project tests/Aspire.Hosting.Tests/Aspire.Hosting.Tests.csproj --no-launch-profile -- --filter-class '*.CorePipelineApiTests' --filter-class '*.DistributedApplicationPipelineTests' --filter-class '*.PipelineLoggerProviderTests' --filter-class '*.PipelineSummaryTests' --filter-class '*.PipelineActivityReporterTests' --filter-class '*.PipelineExecutorTests' --filter-class '*.PublishingExtensionsTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'MSBUILDTERMINALLOGGER=false dotnet test --project tests/Aspire.Hosting.RemoteHost.Tests/Aspire.Hosting.RemoteHost.Tests.csproj --no-launch-profile -- --filter-class '*.AtsCapabilityScannerTests' --filter-class '*.AttributeDataReaderTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'MSBUILDTERMINALLOGGER=false dotnet test --project tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests/Aspire.Hosting.CodeGeneration.TypeScript.Tests.csproj --no-launch-profile -- --filter-class '*.AtsTypeScriptCodeGeneratorTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'MSBUILDTERMINALLOGGER=false dotnet test --project tests/Aspire.Hosting.CodeGeneration.Go.Tests/Aspire.Hosting.CodeGeneration.Go.Tests.csproj --no-launch-profile -- --filter-class '*.AtsGoCodeGeneratorTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'MSBUILDTERMINALLOGGER=false dotnet test --project tests/Aspire.Hosting.CodeGeneration.Java.Tests/Aspire.Hosting.CodeGeneration.Java.Tests.csproj --no-launch-profile -- --filter-class '*.AtsJavaCodeGeneratorTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'MSBUILDTERMINALLOGGER=false dotnet test --project tests/Aspire.Hosting.CodeGeneration.Python.Tests/Aspire.Hosting.CodeGeneration.Python.Tests.csproj --no-launch-profile -- --filter-class '*.AtsPythonCodeGeneratorTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'MSBUILDTERMINALLOGGER=false dotnet test --project tests/Aspire.Hosting.CodeGeneration.Rust.Tests/Aspire.Hosting.CodeGeneration.Rust.Tests.csproj --no-launch-profile -- --filter-class '*.AtsRustCodeGeneratorTests' --filter-not-trait 'quarantined=true' --filter-not-trait 'outerloop=true'node --check extension/scripts/run-e2e.jsgit diff --checkScope checks verified that all 95 modified production files differ only in the targeted attributes/suppressions, unused annotation imports, and associated whitespace; all other experimental attributes remain unchanged. No actual
ASPIREPIPELINES001source declaration attributes remain outside the generated release API baselines. The sole retained consumer suppression is the extension E2E backward-compatibility fixture. Executing its actual fixture writer in a Node VM for older and current SDK identities verified that both pipeline steps and all three compatibility suppressions are preserved.Native AOT, Linux terminal E2E execution, cloud deployment E2E execution, and the full test suite were not run. Java runtime probes require validation on a host with a JDK.
Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?