Skip to content

Remove ATS experimental markers - #17600

Merged
Sébastien Ros (sebastienros) merged 1 commit into
mainfrom
sebros/remove-ats-experimental-markers
May 28, 2026
Merged

Sébastien Ros (sebastienros) merged 1 commit into
mainfrom
sebros/remove-ats-experimental-markers

Conversation

@sebastienros

Copy link
Copy Markdown
Contributor

Description

TypeScript/polyglot support is GA for 13.4, so consumers should no longer need to suppress ASPIREATS001 when using ATS/polyglot authoring attributes.

This removes the ASPIREATS001 experimental markers from the ATS attributes, type-system/codegen assemblies, and the custom WithReference contract. It also cleans up now-obsolete suppressions in repo build settings, Blazor sources, analyzer tests, the CLI E2E project-reference template, and related analyzer documentation/metadata.

Validation:

  • ./restore.sh
  • MSBUILDTERMINALLOGGER=false ./build.sh --build /p:SkipNativeBuild=true
  • dotnet test --project tests/Aspire.Hosting.Analyzers.Tests/Aspire.Hosting.Analyzers.Tests.csproj --no-launch-profile -- --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"
  • dotnet build src/Aspire.Hosting.Integration.Analyzers/Aspire.Hosting.Integration.Analyzers.csproj --no-restore

Fixes: #17586

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

Graduate the ATS/polyglot surface by removing ASPIREATS001 attributes and obsolete suppressions now that TypeScript/polyglot support is GA for 13.4.

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

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 -- 17600

Or

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

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

This PR removes the ASPIREATS001 experimental designation now that ATS/polyglot support is GA, and cleans up related suppressions and documentation references across the repo.

Changes:

  • Removed [Experimental("ASPIREATS001")] from ATS attributes and custom WithReference contract.
  • Deleted assembly-level ATS experimental markers from type-system/codegen assemblies.
  • Removed obsolete suppressions and updated analyzer package wording.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Directory.Build.props Removes repo-wide ASPIREATS001 suppression.
tests/Aspire.Hosting.Analyzers.Tests/AnalyzerTest.cs Removes analyzer-test diagnostic suppression setup.
tests/Aspire.Cli.EndToEnd.Tests/ProjectReferenceTests.cs Removes ASPIREATS001 suppression from TS AppHost test template.
src/Aspire.Hosting/Ats/*.cs Removes experimental marker/usings from ATS attributes.
src/Aspire.Hosting/ApplicationModel/IResourceWithCustomWithReference.cs Removes experimental marker from the custom WithReference contract.
src/Aspire.TypeSystem/AssemblyInfo.cs Deletes assembly-level experimental marker.
src/Aspire.Hosting.CodeGeneration.{TypeScript,Rust,Python,Java,Go}/AssemblyInfo.cs Deletes assembly-level experimental markers.
src/Aspire.Hosting.Blazor/* Removes now-unneeded ATS warning pragmas.
src/Aspire.Hosting.Integration.Analyzers/* Updates package description/readme wording from experimental to GA.
src/Aspire.Hosting/Ats/ThirdPartyAtsAttributes.md Updates third-party ATS analyzer documentation wording.

@sebastienros
Sébastien Ros (sebastienros) merged commit c59a283 into main May 28, 2026
614 of 621 checks passed
@sebastienros
Sébastien Ros (sebastienros) deleted the sebros/remove-ats-experimental-markers branch May 28, 2026 16:06
@sebastienros

Copy link
Copy Markdown
Contributor Author

/backport to release/13.4

@github-actions github-actions Bot added this to the 13.5 milestone May 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❓ CLI E2E Tests unknown — 107 passed, 0 failed, 2 unknown (commit 1f10691)

View all recordings
Status Test Recording Job Artifacts
✅ AddPackageInteractiveWhileAppHostRunningDetached Recording #78330516740 Logs
✅ AddPackageWhileAppHostRunningDetached Recording #78330516740 Logs
✅ AgentCommands_AllHelpOutputs_AreCorrect Recording #78330516120 Logs
✅ AgentInitCommand_DefaultSelection_InstallsDefaultSkills Recording #78330516120 Logs
✅ AgentInitCommand_MigratesDeprecatedConfig Recording #78330516120 Logs
✅ AgentMcpListStructuredLogsReturnsLogsFromStarterApp Recording #78330517436 Logs
✅ AgentMcpListStructuredLogsReturnsLogsFromStarterApp_DevLocalhost Recording #78330517436 Logs
✅ AgentMcpListStructuredLogsReturnsLogsFromStarterApp_Isolated Recording #78330517436 Logs
✅ AllPublishMethodsBuildDockerImages Recording #78330516890 Logs
✅ AspireAddAndStartWorkAgainstLegacyAppHostTs Recording #78330516163 Logs
✅ AspireAddPackageVersionToDirectoryPackagesProps Recording #78330516468 Logs
✅ AspireInitSingleFileAppHostRunsViaDotnetRunAppHost Recording #78330515674 Logs
✅ AspireInitWithExistingAppHostDirRecreatesMissingNuGetConfigAndPreservesFiles Recording #78330515056 Logs
❔ AspireInitWithSolutionFileGeneratesAppHostThatBuildsAgainstChannelHive Recording #78330515056 Logs
✅ AspireStartUpdatesStaleTypeScriptAppHostPath Recording #78330517147 Logs
✅ AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps Recording #78330516468 Logs
✅ AspireUpdateRemovesOrphanAppHostPackageVersionWhenSdkAlreadyCurrent Recording #78330516468 Logs
✅ Banner_DisplayedOnFirstRun Recording #78330516836 Logs
✅ Banner_DisplayedWithExplicitFlag Recording #78330516836 Logs
✅ Banner_NotDisplayedWithNoLogoFlag Recording #78330516836 Logs
✅ CertificatesClean_RemovesCertificates Recording #78330515266 Logs
✅ CertificatesTrust_WithNoCert_CreatesAndTrustsCertificate Recording #78330515266 Logs
✅ CertificatesTrust_WithUntrustedCert_TrustsCertificate Recording #78330515266 Logs
✅ ConfigSetGet_CreatesNestedJsonFormat Recording #78330515457 Logs
✅ CreateAndRunAspireStarterProject Recording #78330517007 Logs
✅ CreateAndRunAspireStarterProjectWithBundle Recording #78330516582 Logs
✅ CreateAndRunEmptyAppHostProject Recording #78330514084 Logs
✅ CreateAndRunJavaEmptyAppHostProject Recording #78330516719 Logs
✅ CreateAndRunJsReactProject Recording #78330515434 Logs
✅ CreateAndRunPythonReactProject Recording #78330515676 Logs
✅ CreateAndRunTypeScriptEmptyAppHostProject Recording #78330517068 Logs
✅ CreateAndRunTypeScriptStarterProject Recording #78330515397 Logs
✅ CreateJavaAppHostWithViteApp Recording #78330516364 Logs
✅ CreateTypeScriptAppHostWithViteApp_AllowsGuestAppPackageManagerToDiffer Recording #78330515285 Logs
✅ CreateTypeScriptAppHostWithViteApp_UsesConfiguredToolchain Recording #78330515285 Logs
✅ DashboardRunWithAgentMcpListTracesReturnsNoTraces Recording #78330516265 Logs
✅ DashboardRunWithAgentMcpListTracesReturnsNoTraces_DevLocalhost Recording #78330516265 Logs
✅ DashboardRunWithOtelTracesReturnsNoTraces Recording #78330516265 Logs
✅ DashboardRunWithOtelTracesReturnsNoTraces_DevLocalhost Recording #78330516265 Logs
✅ DeployK8sBasicApiService Recording #78330515634 Logs
✅ DeployK8sWithExternalHelmChart Recording #78330517023 Logs
✅ DeployK8sWithGarnet Recording #78330515902 Logs
✅ DeployK8sWithMongoDB Recording #78330516094 Logs
✅ DeployK8sWithMySql Recording #78330516481 Logs
✅ DeployK8sWithPostgres Recording #78330515531 Logs
✅ DeployK8sWithRabbitMQ Recording #78330516440 Logs
✅ DeployK8sWithRedis Recording #78330517215 Logs
✅ DeployK8sWithSqlServer Recording #78330517126 Logs
✅ DeployK8sWithValkey Recording #78330516186 Logs
✅ DeployTypeScriptAppToKubernetes Recording #78330516160 Logs
✅ DescribeCommandResolvesReplicaNames Recording #78330515785 Logs
✅ DescribeCommandShowsRunningResources Recording #78330515785 Logs
✅ DetachFormatJsonProducesValidJson Recording #78330516837 Logs
✅ DetachFormatJsonProducesValidJsonWhenRestartingExistingInstance Recording #78330516837 Logs
✅ DoPublishAndDeployListStepsWork Recording #78330516131 Logs
✅ DocsCommand_RendersInteractiveMarkdownFromLocalSource Recording #78330515460 Logs
✅ DoctorCommand_DetectsDeprecatedAgentConfig Recording #78330516120 Logs
✅ DoctorCommand_TypeScriptAppHostReportsMissingConfiguredToolchain Recording #78330515410 Logs
✅ DoctorCommand_WithSslCertDir_ShowsTrusted Recording #78330515410 Logs
✅ DoctorCommand_WithoutSslCertDir_ShowsPartiallyTrusted Recording #78330515410 Logs
✅ GatewayWithoutExternalEndpoint_FailsPublishWithGuidance Recording #78330516073 Logs
✅ GeneratedAspireDevScript_StartsWatchMode_WithConfiguredToolchain Recording #78330515285 Logs
✅ GlobalMigration_HandlesCommentsAndTrailingCommas Recording #78330515457 Logs
✅ GlobalMigration_HandlesMalformedLegacyJson Recording #78330515457 Logs
✅ GlobalMigration_PreservesAllValueTypes Recording #78330515457 Logs
✅ GlobalMigration_SkipsWhenNewConfigExists Recording #78330515457 Logs
✅ GlobalSettings_MigratedFromLegacyFormat Recording #78330515457 Logs
✅ IngressWithoutExternalEndpoint_FailsPublishWithGuidance Recording #78330516073 Logs
✅ InitTypeScriptAppHost_AugmentsExistingViteRepoInWorkspaceSubdirectory Recording #78330515285 Logs
✅ InteractiveCSharpInitCreatesExpectedFiles Recording #78330515355 Logs
✅ InvalidAppHostPathWithComments_IsHealedOnRun Recording #78330516500 Logs
✅ JavaScriptHostingApisRunFromTypeScriptAppHost Recording #78330516890 Logs
✅ LatestCliCanStartStableChannelAppHost Recording #78330517007 Logs
✅ LatestCliCanStartStableChannelTypeScriptAppHost Recording #78330517007 Logs
✅ LegacySettingsMigration_AdjustsRelativeAppHostPath Recording #78330517147 Logs
✅ LogsCommandShowsResourceLogs Recording #78330515291 Logs
✅ OtelLogsReturnsStructuredLogsFromStarterApp Recording #78330515717 Logs
✅ OtelLogsReturnsStructuredLogsFromStarterAppIsolated Recording #78330515717 Logs
✅ PsCommandListsRunningAppHost Recording #78330515820 Logs
✅ PsFormatJsonOutputsOnlyJsonToStdout Recording #78330515820 Logs
✅ PublishJavaScriptPatternsGeneratesExpectedDockerComposeArtifacts Recording #78330516936 Logs
✅ PublishWithConfigureEnvFileUpdatesEnvOutput Recording #78330516936 Logs
✅ PublishWithDockerComposeServiceCallbackSucceeds Recording #78330516936 Logs
✅ PublishWithoutOutputPathUsesAppHostDirectoryDefault Recording #78330516936 Logs
✅ ResourceCommand_FailedExecution_DisplaysAppHostLogPathAndLogContainsEntries Recording #78330515818 Logs
✅ ResourceCommand_SetAndDeleteParameterUpdatesDescribeOutput Recording #78330515818 Logs
✅ RestoreGeneratesSdkFiles Recording #78330516624 Logs
✅ RestoreGeneratesSdkFiles_WithConfiguredToolchain Recording #78330516058 Logs
✅ RestoreRefreshesGeneratedSdkAfterAddingIntegration Recording #78330516058 Logs
✅ RestoreSupportsConfigOnlyHelperPackageAndCrossPackageTypes Recording #78330515847 Logs
✅ RunFromParentDirectory_UsesExistingConfigNearAppHost Recording #78330515675 Logs
✅ RunReportsSyntaxErrorsForDotNetAppHost Recording #78330515738 Logs
✅ RunReportsSyntaxErrorsForTypeScriptAppHost Recording #78330515738 Logs
✅ SecretCrudOnDotNetAppHost Recording #78330515436 Logs
✅ SecretCrudOnTypeScriptAppHost Recording #78330515440 Logs
✅ StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels Recording #78330515922 Logs
✅ StartAndWaitForTypeScriptSqlServerAppHostWithNativeAssets Recording #78330515914 Logs
✅ StartReportsSyntaxErrorsForDotNetAppHost Recording #78330515738 Logs
✅ StartReportsSyntaxErrorsForTypeScriptAppHost Recording #78330515738 Logs
✅ StopAllAppHostsFromAppHostDirectory Recording #78330516059 Logs
✅ StopJavaPolyglotAppHostUsingApphostDirectory Recording #78330516565 Logs
✅ StopNonInteractiveSingleAppHost Recording #78330516059 Logs
✅ StopTypeScriptPolyglotAppHostUsingApphostDirectory Recording #78330516252 Logs
✅ StopWithNoRunningAppHostExitsSuccessfully Recording #78330516740 Logs
✅ UnAwaitedChainsCompileWithAutoResolvePromises Recording #78330516058 Logs
❔ UpdateProjectChannelToStable_CSharpEmptyAppHost_PreservesAspireConfigChannel Recording #78330515759 Logs
✅ UpdateProjectChannelToStable_CSharpSingleFileInit_PreservesAspireConfigChannel Recording #78330515759 Logs
✅ UpdateProjectChannelToStable_TypeScriptSingleFileInit_PreservesAspireConfigChannel Recording #78330515759 Logs
✅ UpdateProjectChannelToStable_TypeScript_PreviewsStablePackagesAndPreservesChannel Recording #78330515759 Logs

📹 Recordings uploaded automatically from CI run #26583195866

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/13.4 (link to workflow run)

aspire-repo-bot Bot added a commit to microsoft/aspire.dev that referenced this pull request May 28, 2026
…ring docs

ATS (Aspire Type System) / polyglot support is now GA in Aspire 13.4+.
The ASPIREATS001 diagnostic is no longer marked experimental, so:
- Remove the 'Preview feature' badge from the page header
- Remove the instruction to suppress ASPIREATS001 in project files
- Remove the note that [AspireValue] is experimental

Consumers no longer need <NoWarn>;ASPIREATS001</NoWarn> in
their integration project files.

Documents changes from microsoft/aspire#17600

Co-authored-by: Copilot <[email protected]>
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Pull request created: #1113

Generated by PR Documentation Check

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

📝 Documentation has been drafted in microsoft/aspire.dev#1113 targeting release/13.4.

Updated src/frontend/src/content/docs/extensibility/multi-language-integration-authoring.mdx to reflect that ATS (Aspire Type System) / polyglot support is now GA. Removed the "Preview feature" badge, the instruction to suppress ASPIREATS001 before using [AspireExport], and the note that [AspireValue] is experimental.

Note

This draft PR needs human review before merging.

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.

Remove ASPIREATS001

3 participants