Repository navigation
Stabilize Fusion execution-timeout test against cold-start flake - #9938
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Stabilizes a flaky Fusion execution-timeout snapshot test by warming up the gateway before running the time-budgeted request, reducing first-request cold-start/JIT overhead impact on the measured timeout window.
Changes:
- Adds a preliminary
{ __typename }request to warm the gateway before the 250ms execution-timeout scenario is exercised.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Code Coverage OverviewLanguages: C# C# / code-coverage/dotnetThe overall coverage in the Show a code coverage summary of the most impacted files.
Updated |
This was referenced Jun 19, 2026
This was referenced Jun 26, 2026
Closed
This was referenced Jul 5, 2026
This was referenced Jul 13, 2026
This was referenced Jul 20, 2026
chore(deps): Bump HotChocolate.Subscriptions.InMemory from 15.1.14 to 16.5.1
Kuestenlogik/Bowire#506
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
CancellationTests.Request_Is_Running_Into_Execution_Timeout_While_Http_Request_In_Node_Is_Still_Ongoingflaked under CI load: the snapshot dropped thesourceSchemas[].interactions:block whenever the 250ms execution timeout elapsed before the gateway dispatched to the subgraph.TimeoutMiddlewaresits above parsing, planning, and execution in the pipeline, so first-request cold start (planning plus JIT, inside the timed window) can consume the 250ms beforeonBeforeSendrecords the subgraph request, leaving no interaction to snapshot.{ __typename }request first. It resolves on the gateway, never reaches the subgraph, and records no interaction, so the executor build and pipeline JIT happen outside the tight timeout. The measured request then reliably records the interaction. The 250ms timeout and the committed snapshot are unchanged.Test plan
CancellationTestsclass (both methods across net8.0, net9.0, and net10.0): all pass.