Repository navigation
Remove upstreamed Go, Java, and Rust integrations - #2534
Merged
aaronpowell merged 8 commits intoNov 19, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
aaronpowell
requested review from
Alirexaa,
justinyoo and
tommasodotNET
as code owners
November 16, 2026 02:27
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 2534Or
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 2534" |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Automated coverage is missing for Bacon-enabled startup and readiness, as well as Go and TypeScript SDK dispatch through AddBaconApp and its fluent methods after the RustAppResource change.
1 open issue
1 file not reviewed
examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/package-lock.json: Generated file
What changed in this PR
Removes Toolkit integrations now provided by Aspire, addressing #1622 and #1620 while retaining Bacon support on the upstream Rust resource.
Changes:
- Removes the Toolkit Go and Java packages, Java examples and tests, and associated registrations.
- Migrates
AddBaconApptoRustAppResource, updates Rust examples, and adds coexistence coverage. - Documents migration to upstream packages and preserves Go AppHost tooling.
| File | Description |
|---|---|
| tests/CommunityToolkit.Aspire.Hosting.Rust.Tests/RustAppPublicApiTests.cs | Removes tests for the retired Rust API. |
| tests/CommunityToolkit.Aspire.Hosting.Rust.Tests/AddRustAppTests.cs | Removes Toolkit Cargo model tests. |
| tests/CommunityToolkit.Aspire.Hosting.Rust.Tests/AddBaconAppTests.cs | Updates resource assertions and tests coexistence. |
| tests/CommunityToolkit.Aspire.Hosting.Java.Tests/TypeScriptAppHostTests.cs | Removes Java TypeScript validation. |
| tests/CommunityToolkit.Aspire.Hosting.Java.Tests/JavaHostingComponentTests.cs | Removes Java startup tests. |
| tests/CommunityToolkit.Aspire.Hosting.Java.Tests/GoAppHostTests.cs | Removes Java Go AppHost validation. |
| tests/CommunityToolkit.Aspire.Hosting.Java.Tests/ExecutableResourceCreationTests.cs | Removes Java executable model tests. |
| tests/CommunityToolkit.Aspire.Hosting.Java.Tests/ContainerResourceCreationTests.cs | Removes Java container model tests. |
| tests/CommunityToolkit.Aspire.Hosting.Java.Tests/CommunityToolkit.Aspire.Hosting.Java.Tests.csproj | Removes the Java test project. |
| tests/CommunityToolkit.Aspire.Hosting.Java.Tests/AssemblyInfo.cs | Removes Java test assembly configuration. |
| src/CommunityToolkit.Aspire.Hosting.Rust/RustAppHostingExtension.cs | Retains Bacon using upstream RustAppResource. |
| src/CommunityToolkit.Aspire.Hosting.Rust/RustAppExecutableResource.cs | Removes the Toolkit Rust resource. |
| src/CommunityToolkit.Aspire.Hosting.Rust/README.md | Documents Bacon and upstream Cargo migration. |
| src/CommunityToolkit.Aspire.Hosting.Rust/CommunityToolkit.Aspire.Hosting.Rust.csproj | Adds the upstream Rust dependency. |
| src/CommunityToolkit.Aspire.Hosting.Rust/api/CommunityToolkit.Aspire.Hosting.Rust.cs | Updates the public API baseline. |
| src/CommunityToolkit.Aspire.Hosting.Java/README.md | Removes retired Java documentation. |
| src/CommunityToolkit.Aspire.Hosting.Java/MavenOptions.cs | Removes Maven options. |
| src/CommunityToolkit.Aspire.Hosting.Java/MavenBuildResource.cs | Removes the Maven build resource. |
| src/CommunityToolkit.Aspire.Hosting.Java/JavaBuildToolAnnotation.cs | Removes Java build-tool metadata. |
| src/CommunityToolkit.Aspire.Hosting.Java/JavaAppHostingExtension.Executable.cs | Removes Java executable APIs. |
| src/CommunityToolkit.Aspire.Hosting.Java/JavaAppHostingExtension.Container.cs | Removes Java container APIs. |
| src/CommunityToolkit.Aspire.Hosting.Java/JavaAppExecutableResourceOptions.cs | Removes Java executable options. |
| src/CommunityToolkit.Aspire.Hosting.Java/JavaAppExecutableResource.cs | Removes the Java executable resource. |
| src/CommunityToolkit.Aspire.Hosting.Java/JavaAppContainerResourceOptions.cs | Removes Java container options. |
| src/CommunityToolkit.Aspire.Hosting.Java/JavaAppContainerResource.cs | Removes the Java container resource. |
| src/CommunityToolkit.Aspire.Hosting.Java/GradleBuildResource.cs | Removes the Gradle build resource. |
| src/CommunityToolkit.Aspire.Hosting.Java/CommunityToolkit.Aspire.Hosting.Java.csproj | Removes the Java package project. |
| src/CommunityToolkit.Aspire.Hosting.Java/api/CommunityToolkit.Aspire.Hosting.Java.cs | Removes the Java API baseline. |
| src/CommunityToolkit.Aspire.Hosting.Golang/README.md | Removes retired Go documentation. |
| src/CommunityToolkit.Aspire.Hosting.Golang/GoModInstallerResource.cs | Removes the Go module installer resource. |
| src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppHostingExtension.cs | Removes Toolkit Go hosting APIs. |
| src/CommunityToolkit.Aspire.Hosting.Golang/GolangAppExecutableResource.cs | Removes the Toolkit Go resource. |
| src/CommunityToolkit.Aspire.Hosting.Golang/CommunityToolkit.Aspire.Hosting.Golang.csproj | Removes the Go package project. |
| src/CommunityToolkit.Aspire.Hosting.Golang/api/CommunityToolkit.Aspire.Hosting.Golang.cs | Removes the Go API baseline. |
| README.md | Adds migration guidance and updates package listings. |
| examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost/AppHost.cs | Adds opt-in Bacon usage. |
| examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost.TypeScript/apphost.mts | Replaces Toolkit argument validation with optional Bacon. |
| examples/rust/CommunityToolkit.Aspire.Hosting.Rust.AppHost.Go/apphost.go | Adds optional Bacon to the retained Go AppHost. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/wwwroot/app.css | Removes Java example styling. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Services/ApiClientService.cs | Removes example client orchestration. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Properties/launchSettings.json | Removes WebApp launch profiles. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Program.cs | Removes WebApp startup. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Models/WeatherForecast.cs | Removes the WebApp weather model. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/UI/WeatherComponent.razor | Removes the weather component. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Routes.razor | Removes WebApp routing. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Pages/Weather.razor | Removes the weather page. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Pages/Home.razor | Removes the home page. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Pages/Error.razor | Removes the error page. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Pages/Counter.razor | Removes the counter page. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Layout/NavMenu.razor.css | Removes navigation styling. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Layout/NavMenu.razor | Removes the navigation menu. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Layout/MainLayout.razor.css | Removes layout styling. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/Layout/MainLayout.razor | Removes the WebApp layout. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/App.razor | Removes the WebApp root component. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Components/_Imports.razor | Removes Razor imports. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/CommunityToolkit.Aspire.Hosting.Java.WebApp.csproj | Removes the WebApp project. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Clients/WebApiClient.cs | Removes the example API client. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Clients/SpringApiClient.cs | Removes Spring API clients. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/Clients/IApiClient.cs | Removes the client interface. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.WebApp/appsettings.json | Removes WebApp settings. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/src/main/resources/application.properties | Removes Spring settings. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/src/main/java/org/aliencube/aspire/contribs/spring_maven/SpringMavenApplication.java | Removes Spring application startup. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/src/main/java/org/aliencube/aspire/contribs/spring_maven/models/WeatherForecast.java | Removes the Spring weather model. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/src/main/java/org/aliencube/aspire/contribs/spring_maven/controllers/WeatherController.java | Removes the weather endpoint. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/src/main/java/org/aliencube/aspire/contribs/spring_maven/controllers/HomeController.java | Removes home and health endpoints. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/pom.xml | Removes Maven project configuration. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/mvnw.cmd | Removes the Windows Maven wrapper. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/mvnw | Removes the Unix Maven wrapper. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/Dockerfile | Removes Spring container packaging. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/.mvn/wrapper/maven-wrapper.properties | Removes Maven wrapper settings. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.Spring.Maven/.gitignore | Removes Spring-specific ignore rules. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.ServiceDefaults/Extensions.cs | Removes example service defaults. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.ServiceDefaults/CommunityToolkit.Aspire.Hosting.Java.ServiceDefaults.csproj | Removes the service-defaults project. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/Properties/launchSettings.json | Removes Java AppHost launch profiles. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/CommunityToolkit.Aspire.Hosting.Java.AppHost.csproj | Removes the C# Java AppHost project. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/appsettings.json | Removes Java AppHost settings. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost/AppHost.cs | Removes Java example orchestration. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/tsconfig.json | Removes TypeScript compiler settings. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/package.json | Removes TypeScript AppHost dependencies. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/eslint.config.mjs | Removes TypeScript lint configuration. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/aspire.config.json | Removes Java TypeScript package registration. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.TypeScript/apphost.mts | Removes the Java TypeScript AppHost. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.Go/go.mod | Removes the Java Go AppHost module. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.Go/aspire.config.json | Removes Java Go package registration. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.AppHost.Go/apphost.go | Removes the Java Go AppHost. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.ApiApp/Properties/launchSettings.json | Removes API example launch profiles. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.ApiApp/Program.cs | Removes API example startup and endpoint. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.ApiApp/CommunityToolkit.Aspire.Java.ApiApp.http | Removes the sample HTTP request. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.ApiApp/CommunityToolkit.Aspire.Hosting.Java.ApiApp.csproj | Removes the API example project. |
| examples/java/CommunityToolkit.Aspire.Hosting.Java.ApiApp/appsettings.json | Removes API example settings. |
| examples/java/azure.yaml | Removes Java example deployment configuration. |
| Directory.Packages.props | Centrally versions upstream Rust hosting. |
| CommunityToolkit.Aspire.slnx | Removes retired package and Java project entries. |
| CODEOWNERS | Removes ownership entries for retired integrations. |
| .github/actions/setup-runtimes-caching/action.yml | Retains Go setup without the obsolete cache path. |
| .agents/skills/hosting-integration-authoring/resources/archetype-language-executable-app.md | Removes the deleted Go guidance reference. |
Review effort: Balanced
| /// <returns>A reference to the <see cref="IResourceBuilder{T}"/>.</returns> | ||
| [AspireExport] | ||
| public static IResourceBuilder<RustAppExecutableResource> AddBaconApp( | ||
| public static IResourceBuilder<RustAppResource> AddBaconApp( |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Pin the file-based app to net10.0 to match repository restore targets and regenerate the Bacon description in the integrations table. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move the general CI target-framework fix into its own PR. Keep the Bacon integrations-table description aligned with the package metadata. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
5 of 10 tasks
Contributor
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
aaronpowell
deleted the
aaronpowell-remove-upstreamed-language-integrations
branch
November 19, 2026 00:15
6 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #1622
Closes #1620
Remove the Toolkit Go and Java integrations and their associated examples, tests, and registrations. Remove the Toolkit Cargo-based Rust API and resource while retaining Bacon on Aspire's
RustAppResource; retain and update Rust examples and Go AppHost support.PR Checklist
Breaking change: migrate from the Toolkit Go, Java, and Cargo-based Rust APIs to
Aspire.Hosting.Go,Aspire.Hosting.Java, andAspire.Hosting.Rust. Their APIs and argument handling differ.AddBaconAppremains in the Toolkit Rust package, but now returns the upstreamRustAppResourceinstead ofRustAppExecutableResource.Other information
Validation:
dotnet test tests\CommunityToolkit.Aspire.Hosting.Rust.Tests\CommunityToolkit.Aspire.Hosting.Rust.Tests.csproj --no-restore --filter-class '*Bacon*'— passed, 6 tests.dotnet build src\CommunityToolkit.Aspire.Hosting.Rust\CommunityToolkit.Aspire.Hosting.Rust.csproj --no-restore -f net11.0— passed.ENABLE_BACON=1,dotnet test tests\CommunityToolkit.Aspire.Hosting.Rust.Tests\CommunityToolkit.Aspire.Hosting.Rust.Tests.csproj --no-restore --filter-class '*GoAppHostTests'— passed, including Go SDK generation, compilation, and publish-model validation.aspire restore --apphost apphost.mts --non-interactiveandnpm run build— passed;ENABLE_BACON=1 aspire publish --apphost apphost.mts --list-steps --non-interactive— passed.bash eng/testing/generate-test-list-for-workflow.sh --json— passed; Rust remains in the matrix and Java is removed.Live Rust/Bacon startup was not run because cargo and bacon are not installed locally. Existing Aspire AppHost SDK deprecation warnings remain.