-
Notifications
You must be signed in to change notification settings - Fork 850
Closed as not planned
Closed as not planned
Copy link
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packages
Description
Description
When using the CLI bundle mode (prebuilt AppHost server), the TypeScript SDK codegen generates an SDK that contains functions from Aspire.Hosting core but no functions from Aspire.Hosting.Python (e.g., addUvicornApp, addPythonApp, withUv, etc.).
This was discovered while adding the Python starter template to the CLI template factory (#15574).
Reproduction
- Create a TypeScript AppHost with
Aspire.Hosting.Pythoninaspire.config.json - Run
aspire restore(oraspire newwith the py-starter template) using the CLI bundle (not dotnet SDK mode) - Check
.modules/aspire.ts— it contains ~791K chars but zero Python functions
Details
- The
aspire.config.jsoncorrectly listsAspire.Hosting.Pythonwith the proper version - The
Aspire.Hosting.PythonNuGet package exists and containslib/net8.0/Aspire.Hosting.Python.dllwith proper[AspireExport]attributes on extension methods - The
PrebuiltAppHostServercorrectly addsAspire.Hosting.PythontoAtsAssembliesinappsettings.json - The
AssemblyLoadershould discover and load it from theASPIRE_INTEGRATION_LIBS_PATH - The SDK contains functions from
Aspire.Hostingcore (addContainer, addExecutable, addParameter, etc.) but no integration package functions
Expected behavior
The generated SDK should include addUvicornApp, addPythonApp, withUv, withPip, etc. from Aspire.Hosting.Python.
Environment
- Aspire version: 13.3.0-pr builds
- CLI mode: Bundle (prebuilt AppHost server)
- Platform: Linux (Docker E2E environment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-integrationsIssues pertaining to Aspire Integrations packagesIssues pertaining to Aspire Integrations packages