Repository navigation
Unquarantine AppHostServerSession exited-server RPC test - #21616
Merged
David Fowler (davidfowl) merged 1 commit intoNov 1, 2026
Merged
Conversation
The test passed in all 317 scheduled Quarantined Tests jobs between 2026-10-21 and 2026-10-31 (108 Windows, 108 Ubuntu, 101 macOS). The Windows-only 15s failures predate the ChildProcess/ProcessExecution rewrite that bounded post-exit drain and termination waits. Fixes #19150 Co-authored-by: Copilot <[email protected]>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 21616Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 21616" |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change restoring the exited-server RPC regression test to regular test runs.
No open issues 🎉
What changed in this PR
Restores the CLI’s exited-server RPC regression test to regular test runs by removing its quarantine for #19150. Product code and test assertions remain unchanged.
Changes:
- Removes the quarantine attribute from the test that checks prompt RPC failure after the server exits.
- Removes the unused
Aspire.TestUtilitiesimport.
| File | Description |
|---|---|
tests/Aspire.Cli.Tests/Projects/AppHostServerSessionTests.cs |
Unquarantines the exited-server RPC test and removes the unused import. |
Review effort: Balanced
David Fowler (davidfowl)
marked this pull request as ready for review
October 31, 2026 21:11
This was referenced Oct 31, 2026
James Newton-King (JamesNK)
approved these changes
Nov 1, 2026
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.
Description
This PR unquarantines
AppHostServerSessionTests.GetRpcClientAsync_WhenServerExitsBeforeSocketIsAvailable_FailsWithoutWaitingForConnectionTimeout. It changes no assertions.Why the original failures no longer apply
GetRpcClientAsynctook about 15s, past the 5s limit, to notice that the server process had exited.TerminationTimeout, and the separate Windows IsolatedProcess path is gone.Aspire.Hosting.Tests, not in this test.Evidence
Aspire.Cli.Testsjobs (108 Windows, 108 Ubuntu, 101 macOS). This test never failed. Every failure in those jobs came from other quarantined tests:ProcessGuestLauncherTests.LaunchAsync_WithGracefulServices_BlockingSignalerDoesNotConsumeGracefulBudget(311 jobs) andRpcCancellationReachesServer(17 jobs).AppHostServerSessionTestsclass 20 times on Linux: 20/20 runs green, with 19 tests and 0 failures each time.dotnet --versionserver process and asserts that the RPC connect fails promptly with the exit code.Limitations
main. The fork token can't push the workflow-file change in Lower minimum Helm version to 4.0.0 #21590, and neither skipped commit touches the CLI.Fixes #19150
Checklist
🤖 Posted by AspireAgent (AI Agent)