Skip to content

Add ASPIREEXPORT001-010 diagnostics articles for Polyglot support#564

Merged
IEvangelist merged 1 commit intorelease/13.2from
copilot/add-new-diagnostics-articles
Mar 19, 2026
Merged

Add ASPIREEXPORT001-010 diagnostics articles for Polyglot support#564
IEvangelist merged 1 commit intorelease/13.2from
copilot/add-new-diagnostics-articles

Conversation

Copy link
Contributor

Copilot AI commented Mar 19, 2026

Summary

Adds 10 new diagnostics articles for the ASPIREEXPORT series introduced in Aspire 13.2 as part of Polyglot (multi-language AppHost) support. These diagnostics are emitted by the new AspireExportAnalyzer in Aspire.Hosting.Integration.Analyzers.

The ASPIREATS001 article was already present in the repo.

New diagnostic articles

ID Severity Description
ASPIREEXPORT001 Error [AspireExport] method must be static
ASPIREEXPORT002 Error Invalid export ID format (must match [a-zA-Z][a-zA-Z0-9.]*)
ASPIREEXPORT003 Error Return type is not ATS-compatible
ASPIREEXPORT004 Error Parameter type is not ATS-compatible
ASPIREEXPORT005 Warning [AspireUnion] requires at least 2 types
ASPIREEXPORT006 Warning Union type is not ATS-compatible
ASPIREEXPORT007 Warning Duplicate export ID for the same target type
ASPIREEXPORT008 Warning Public extension method on exported type missing [AspireExport] or [AspireExportIgnore]
ASPIREEXPORT009 Warning Export name may collide with other integrations
ASPIREEXPORT010 Warning Synchronous callback invoked inline — may deadlock in multi-language app hosts

Changes

  • Created 10 new MDX files in src/frontend/src/content/docs/diagnostics/
  • Updated overview.mdx to include all 10 new diagnostics in the master table
  • Updated reference.topics.ts sidebar: ASPIREEXPORT001–004 in Errors section, ASPIREEXPORT005–010 in Warnings section
  • Verified all pages render correctly (HTTP 200) via local dev server

Related

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
@IEvangelist IEvangelist marked this pull request as ready for review March 19, 2026 18:06
@IEvangelist IEvangelist merged commit 18c5e16 into release/13.2 Mar 19, 2026
1 check passed
@IEvangelist IEvangelist deleted the copilot/add-new-diagnostics-articles branch March 19, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants