.NET: Foundry.Hosting IT: quarantine flaky SessionFiles upload test (#5847)#5848
Open
rogerbarreto wants to merge 3 commits into
Open
Conversation
…icrosoft#5847) UploadedFile_IsReadByHostedAgentAsync exhausts its in-test 5-attempt retry against the hosted-agents 400 conflict and blocks the merge queue. Skip via Fact(Skip=...) referencing microsoft#5847 while a permanent mitigation is investigated.
lokitoth
approved these changes
May 14, 2026
peibekwe
approved these changes
May 14, 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.
Summary
Quarantines
Foundry.Hosting.IntegrationTests.SessionFilesHostedAgentTests.UploadedFile_IsReadByHostedAgentAsyncso thedotnet-foundry-hosted-itjob stops blocking the merge queue. Tracking issue: #5847.Why
The test exhausts its in-test 5-attempt retry loop and propagates
HTTP 400 (ServiceError: conflict)from the hosted-agents service:Failure originates inside the existing retry at
SessionFilesHostedAgentTests.cs:141. Wall time1m 02s 367msconfirms the full 2 + 4 + 6 + 8s backoff envelope was consumed, so the service is staying in conflict state longer than the client-side mitigation absorbs. Full root-cause hypothesis and options are in #5847.Change
Replace
[Fact]with[Fact(Skip = ""Flaky in dotnet-foundry-hosted-it; see https://github.com/microsoft/agent-framework/issues/5847"")]on the affected test.Validation
dotnet build dotnet/tests/Foundry.Hosting.IntegrationTests --tl:offsucceeds with 0 warnings, 0 errors.Follow-up
Owner of the Foundry hosted-agents area (assigned in #5847) will ship a permanent mitigation (longer retry envelope or service-side guarantee) and re-enable.
Related
Skip PR for the unrelated DevUI flake: #5846 / issue #5845.