[CI Failure] Flaky: Aspire.Hosting.CodeGeneration.Go.Tests Go toolchain subprocess WaitForExitAsync cancelled by timeout on ubuntu-latest

Open
#21,829 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp, github-actions, go
Domain
ci-cd, testing

Research direction

Start with the three named tests in Aspire.Hosting.CodeGeneration.Go.Tests and inspect how they launch Go subprocesses and apply timeouts. Reproduce the failure on ubuntu-latest using the linked build or the test project, then determine whether the timeout is caused by a shared process-management issue or a specific test path. Done means the affected tests pass reliably in CI.

Written by the indexing model from the issue text.

Description

ci-failure-cause test-failure

Build Information

Build: https://github.com/microsoft/aspire/actions/runs/42109969955
Build error leg: Tests / No-package tests (regular, Aspire.Hosting.CodeGeneration.Go.Tests, Hosting.CodeGeneration.Go, Hos... / Hosting.CodeGeneration.Go (ubuntu-latest)

Error Message

System.Threading.Tasks.TaskCanceledException : A task was canceled.
   at System.Diagnostics.Process.WaitForExitAsync(CancellationToken cancellationToken)

Description

Flaky: Aspire.Hosting.CodeGeneration.Go.Tests Go toolchain subprocess WaitForExitAsync cancelled by timeout on ubuntu-latest

Type: flaky-test

Observed tests

  • Aspire.Hosting.CodeGeneration.Go.Tests.AtsGoCodeGeneratorTests.GeneratedCallbacks_ReceiveResourceBuilderWrapper — job 127545170575 (Tests / No-package tests (regular, Aspire.Hosting.CodeGeneration.Go.Tests, Hosting.CodeGeneration.Go, Hos... / Hosting.CodeGeneration.Go (ubuntu-latest))
  • Aspire.Hosting.CodeGeneration.Go.Tests.AtsGoDerivedBuilderTests.GeneratedCode_CompilesWhenAnExportedValueRootIsNamedLikeAnAcceptingInterface — job 127545170575 (Tests / No-package tests (regular, Aspire.Hosting.CodeGeneration.Go.Tests, Hosting.CodeGeneration.Go, Hos... / Hosting.CodeGeneration.Go (ubuntu-latest))
  • Aspire.Hosting.CodeGeneration.Go.Tests.GoDocCommentTests.GeneratedSdk_PassesGoToolchainChecks — job 127545170575 (Tests / No-package tests (regular, Aspire.Hosting.CodeGeneration.Go.Tests, Hosting.CodeGeneration.Go, Hos... / Hosting.CodeGeneration.Go (ubuntu-latest))

Occurrences

Showing 1 most recent of 1 occurrences.

Date Build Job Context
2026-11-05 42109969955 Tests / No-package tests (regular, Aspire.Hosting.CodeGeneration.Go.Tests, Hosting.CodeGeneration.Go, Hos... / Hosting.CodeGeneration.Go (ubuntu-latest) main
Dominant language
C#
Stars
6.4k
Forks
1k
Avg merge
3d 3h
Merged PRs (30d)
349

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/aspire

All issues in microsoft/aspire

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.