Repository navigation
Stabilize flaky NestedDataLoader test - #10003
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR stabilizes the flaky NestedDataLoader integration test by removing a hardcoded 2-second CancellationTokenSource timeout and instead using the test host’s cancellation token, aligning the test’s cancellation behavior with other tests in the same file.
Changes:
- Removed
CancellationTokenSource(2000)fromNestedDataLoader. - Passed
TestContext.Current.CancellationTokenintoExecuteRequestAsyncandMatchMarkdownAsyncto avoid premature cancellations under CI load.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Jul 7, 2026
This was referenced Jul 14, 2026
This was referenced Jul 23, 2026
chore(deps): Bump HotChocolate.Subscriptions.InMemory from 15.1.14 to 16.5.1
Kuestenlogik/Bowire#506
Merged
This was referenced Sep 1, 2026
[nuget][SUI_Matcher]- Bump the sui-package-updates group with 18 updates
DFE-Digital/SUI_Matcher#397
Closed
Closed
This was referenced Sep 15, 2026
Closed
[nuget][SUI_Matcher]- Bump the sui-package-updates group with 20 updates
DFE-Digital/SUI_Matcher#405
Closed
This was referenced Sep 22, 2026
Closed
Closed
[nuget][SUI_Matcher]- Bump the sui-package-updates group with 20 updates
DFE-Digital/SUI_Matcher#410
Merged
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
NestedDataLoaderwrapped its work in a hardCancellationTokenSource(2000), so the 2-second budget had to cover the schema build, execution, and snapshot match. Under CI contention that work crossed 2s, the request was canceled, and the test failed intermittently withTaskCanceledException.TestContext.Current.CancellationToken, matching the sibling tests in the same file, so the test cancels only on the real test-host token.Test plan
TaskCanceledExceptionby running the full assembly under CPU contention.