Article

How Copilot Projects Released the Aspire Community Toolkit 17

Monday, Nov 30, 2026 13 minute read github-copilot aspire dotnet open-source ai

A major release of the Aspire Community Toolkit is never just “bump a version number”. The Toolkit is a monorepo with dozens of hosting integrations, a pile of example AppHosts in C#, TypeScript and now Go, and a CI pipeline that has to keep all of that honest. As the release date for Aspire 17 drew nearer, I wanted to start the process of supporting it early.

Traditionally, the process of an upgrade goes a bit like this:

  • Switch to the nightly feed for the upcoming Aspire release in the nuget.config.
  • Try to figure out what the latest Aspire build in the target version is.
  • Update our Directory.Build.props to reference the new Aspire version.
  • Create a PR and work through CI issues.
  • Forget to update over a few days.
  • Repeat the process until the CI is green and we can merge the upgrade.

This results in a lot of manual work, monitoring the (very long) CI run (seriously, try running the full Aspire CI locally, that’s a good hour or two!), and constantly keeping track of which fixes depend on which other fixes.

For this release I tried something different. We’d just released GitHub Copilot Projects, and it sounds like the perfect thing for coordinating a release.

This post is a look at how that actually played out - the approach to using Projects, the things that worked well, and where there are still some gaps.

What are Projects

Before jumping into the “how did I use Projects” it might be useful to give a quick overview of what Projects actually are.

GitHub Copilot Projects is a tool for coordinating work across multiple sessions and repositories. It allows you to create a persistent workspace where you can enter prompts and they’ll either be router to existing sessions, or spin up new sessions as needed. I very much treated this as a “we have a goal to achieve” style workspace, where sessions would run as things came up in the scope of the release, but other work on the Toolkit would still be done using other sessions or traditional workflows.

I setup this project with three repos, the Community Toolkit repo, the Aspire repo, and their docs repo. Since the stuff we were going to be adoption in the release doesn’t have published docs, having the docs and aspire repos in the Project would allow sessions to go into those codebases as required to review APIs or read PRs of the upcoming documentation.

By the time the release was done, the Project had run seven separate sessions covering the different logical blocks we had during the release.

Starting with the boring stuff

The first request I gave the Project, back on 29 October, was pretty mundane:

  • Create a GitHub milestone for Aspire 17
  • Start assigning the open PRs to it
  • Update the Toolkit to the Aspire 17 nightly builds

That last one became #2338, and it immediately showed why I didn’t want this all in one session. The upgrade PR was failing a heap of CI, and once we dug in, not all of those failures were caused by the upgrade. A MySqlConnector/DbGate problem was a separate issue, so I asked for that to be pulled out onto its own branch off main and fixed there (#2339). Meanwhile, I’d also asked for the existing .NET 8/9 removal (#2295) to be folded into the upgrade, since Aspire 17 requires .NET 10 anyway.

Splitting things out like this is something I’d do as a human maintainer anyway. The difference is that the coordinator could keep track of which branch had which fix, and when the MySQL fix landed in main it could rebase the upgrade work onto it rather than me having to remember the dependency.

I also asked for a daily automation that would bump the Toolkit to the latest Aspire 17 build on the feed, so we didn’t fall behind the nightlies. That turned out to need some supervision of its own, which I’ll come back to.

Research as its own piece of work

Alongside the implementation, I had the Project look at what was coming in Aspire 17 - reviewing the Aspire repo and the docs repo to highlight API changes that could impact the Toolkit, things moving out of experimental, things being obsoleted, and new features that might let us drop workarounds.

Having that research live in a separate session from the upgrade PR was really useful. The upgrade session could stay focused on “make the build green”, while the research produced a list of things for me to decide on. When a daily bump uncovered a wave of API changes, there was already context on why they were happening.

.NET 11 and a matrix that was too big

.NET 11 would ship one week prior to Aspire 17 (yay for multiple moving targets!), so we needed to add it as a target framework and get it onto our runners. That became another session within the Project, resulting in #2437.

The first pass did the obvious thing: build and test everything on both net10.0 and net11.0. Then a note on the PR pointed out the problem - with 80 test projects, two operating systems and two target frameworks, that’s a 320-job matrix, and GitHub Actions caps a matrix at 256 jobs. I’d always wondered if there was a limit…

This was a place where I didn’t want the agent to just find a clever way to cram more jobs in (we’d already had a heap of pain in how we manage such a large/complex test matrix). We’d supported multiple TFMs before, with .NET 8 and 9, and we didn’t run the full test suite on every framework back then either. So I asked it to go back through the history and check how we’d done it.

The approach we landed on mirrors that: the source packages target both net10.0 and net11.0, and CI builds and packages both, but the integration test matrix runs on the default net10.0 target across Ubuntu and Windows - 80 projects × 2 OSes = 160 jobs. To be clear about what that means, we are not running the full runtime test suite on .NET 11 in CI. That’s a deliberate tradeoff, and it’s the same one we made previously.

That PR also had a couple of other moments where I needed to steer:

  • I’d also run a research session on whether there was anything in .NET 11 and C# 15 worth adopting. My read of the research was that there wasn’t a lot of value, except for the Kind integration, so the PR picked up a small, targeted change there (using StringStream when parsing kubeconfig on .NET 11) rather than a broad modernisation sweep.
  • One failing test was down to the SQL Database Projects TypeScript AppHost not having the right SDK version in its aspire.config.json. I spotted that one and pointed it out.
  • I noticed the PR had rolled forward to an Aspire 17.1 preview. We were shipping 17.0, so I had it pinned back to the latest 17.0 preview. That’s also where the daily automation came back in - it had been happily tracking whatever was newest on the feed, so I had its prompt updated to only take the latest Aspire 17.0.0 preview.

None of those are things I’d expect an agent to just “know”. They’re judgement calls about what the project should be doing.

Go AppHosts, in parallel

While looking at the draft Aspire 17 release notes I saw that Go AppHosts were coming as a feature. We’d already built TypeScript AppHost examples for the Toolkit’s integrations, so I asked the Project to take that approach and adapt it for Go.

This is where the coordinator model really paid off. Writing a Go counterpart for each TypeScript example is a lot of fairly independent work, so it was split into batches of examples handled by separate sessions, then consolidated into a single PR: #2438. This was actually kind of cool to watch, since there really isn’t shared code, just the test orchestrator, so it was the perfect candidate for parallel work.

What I liked most was how it handled the bits that didn’t work. The Go SDK generated optional resource-handle parameters as pointers to interfaces, and at the time those weren’t being unwrapped during serialization - so things like passing an explicit username or password parameter compiled fine, but blew up with INVALID_ARGUMENT when building the model. The easy “fix” would have been to drop those parameters from the Go examples so they’d run. Instead, the PR is explicit that credentials and resource references weren’t dropped to mask the problem, and it reported where things actually stood: 53 of the 59 TypeScript examples had Go counterparts, four of those were compile-only, and six were missing because of that limitation.

Those findings were observed against the Aspire builds we had at the time, so once the PR was merged I had them turned into a tracking issue with a checklist, #2533, to re-check each one rather than assume they’re still broken (or fixed). That issue is now in the 17.1 milestone.

Isolating a weird CI failure

The Go PR had another problem: the SQL Database Projects TypeScript and Go AppHost tests were failing on CI, but clean restores didn’t reproduce it.

I asked for that to be worked on in its own session, branched off the Go PR, with a separate draft PR - I didn’t want a deep debugging exercise tangled up in a PR about examples. That became #2529.

The root cause was subtle. The SQL integration calls MSBuildLocator.RegisterDefaults(), which sets process-wide MSBUILD_EXE_PATH, MSBuildExtensionsPath and MSBuildSDKsPath environment variables pointing at SDK 10. Later polyglot tests in the same test process inherited those, so the child build of the AppHost’s integration project tried to restore a net11.0 target using SDK 10 paths and failed - even though SDK 11 was installed.

My first question was “so why is only this one project affected?” The answer was that the contamination comes from the SQL integration’s own initialisation, which only runs in the SQL test assembly - so the same explanation shouldn’t be assumed for any other failing tests. I had that reasoning captured in the PR description, since that’s exactly the question a reviewer (including future me) would ask.

Reading the actual release branch docs

With Aspire 17 due to release the next day, I asked for a review of the docs on the release/17.0 branch of aspire.dev to see if there was anything else we needed to uplift. Pointing it at the actual release branch, rather than whatever was on main, mattered - that’s the documentation that would match what shipped.

That surfaced ASPIRE012, the warning about the obsolete AppHost SDK. When I asked what it told us to do, the options were essentially “suppress it” or “migrate”. I’d rather not have every AppHost opt out of a warning, so we did the migration in #2541, moving the C# AppHosts to Microsoft.NET.Sdk with explicit Aspire.Hosting.AppHost references.

That PR wasn’t right first time. It had a bunch of failing checks where the test harness wasn’t loading things correctly - the project metadata relationships that the old SDK had been providing implicitly needed to be made explicit. It took another round of diagnosis and fixes before it went green.

When Aspire 17 went stable, the update to 17.0.0 (#2566) started out stacked on top of the SDK migration, and then had to be retargeted to main and have conflicts resolved once the migration merged. It also turned out that changes in the stable Go SDK meant a lot of our Go AppHosts needed updating for generated integer pointers. The PR adapted those while preserving their configured values, and three publish checks that had been disabled in the Go work started passing on stable 17.

Release day was not a green path

Once CI was passing on main, I asked for the release to be cut: tag v17.0.0, push it, and draft release notes.

The release workflow failed.

The packaging job hit NU5104 on CommunityToolkit.Aspire.Hosting.Rust. Aspire had upstreamed a Rust integration, and our Bacon integration depended on it - but the upstream package was still prerelease, and you can’t ship a stable package that depends on a prerelease one. Because the package step failed, the signing, publishing and release jobs never ran.

I asked for a PR to fix it, and then changed direction partway through: the package should be renamed to Rust.Extensions, to follow the convention we already use for Python and JavaScript. I also suggested it take a dependency on the upstream Rust integration if it made sense to reuse its resource type. It didn’t - that’s the prerelease dependency that caused the failure in the first place - so #2587 restores the Toolkit’s own RustAppExecutableResource for AddBaconApp. That keeps Bacon available without suppressing the warning or hiding a required dependency.

Once that was merged, I asked for main to be brought up to date and for the v17.0.0 tag to be moved to the new main HEAD. That retriggered the release workflow.

Then it stopped - on purpose. Our release and stable NuGet publishing run through protected GitHub Actions environments with a required reviewer, and that reviewer is me. The session reported that the run was waiting on those gates and that it hadn’t approved anything. I approved the deployments myself, asked it to monitor the run, and when the workflow finished publishing the packages and creating the GitHub release, it updated the release notes.

The last bit of housekeeping was the milestone. Two items weren’t going to make 17.0, so I had a 17.1 milestone created, those items moved to it, and the 17.0 milestone closed.

What I took away from this

Looking back at the Project history, a few things stand out.

Focused sessions beat one giant conversation. Research, the nightly upgrade, .NET 11, Go parity, the SQL CI investigation and the release fix were all separate pieces of work with their own context. The Project kept the thread between them, so I didn’t lose the bigger picture, but no single session had to juggle all of it.

Splitting work into separate PRs is still my call. A lot of my input was “pull that out into its own PR” - the MySQL fix, the SQL environment leak, and an unrelated CI fix that was breaking a bunch of other PRs. The agents were good at doing the split once asked, but deciding what belongs together is a maintainer judgement.

History is a great tiebreaker. “How did we do this for .NET 8 and 9?” settled the matrix question far faster than debating options from scratch.

Honest gaps are more useful than fake green. The Go work recorded what didn’t work, with versions and reproductions, instead of quietly dropping credentials to get a pass. That gave us a concrete follow-up issue instead of a hidden problem.

The protected steps stayed protected. Agents did a lot of the legwork - investigating failures, preparing PRs, pushing tags I’d asked for, watching workflow runs - but the release gates required my approval, and I was the one who approved them. I’d much rather have it that way.

It also wasn’t magic. I still caught things like the drift to a 17.1 preview, an automation prompt that needed tightening, a wrong SDK version in a config file, and failing checks that needed another look. The model I ended up with is that the Project does the coordination and the grunt work, and I do the reviewing, the scope decisions and the “yes, ship it”.

If you’re using the Toolkit, v17.0.0 is out, and the remaining Go AppHost work is tracked in #2533 if you want to help out.