-
Notifications
You must be signed in to change notification settings - Fork 311
Deadline-aware cancellation (prototype) #10018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Amaury Levé (Evangelink)
merged 73 commits into
main
from
nohwnd-deadline-aware-cancellation
Aug 26, 2026
Merged
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
d556b81
Add deadline-aware cancellation prototype
nohwnd 30fe9a1
Merge remote-tracking branch 'origin/main' into nohwnd-deadline-aware…
nohwnd 1ddfd5a
Address PR review on deadline-aware cancellation
nohwnd 1cbf4df
Merge remote-tracking branch 'origin/main' into nohwnd-deadline-aware…
nohwnd 91d2de2
Address second review round on deadline-aware cancellation
nohwnd 14d6b88
Address the re-review comments on deadline-aware cancellation
nohwnd aa73e62
Merge remote-tracking branch 'origin/main' into nohwnd-deadline-aware…
nohwnd e7786b2
Address deadline-aware cancellation review (exit code, server mode, l…
nohwnd f445901
Merge remote-tracking branch 'origin/main' into nohwnd-deadline-aware…
nohwnd f110c3d
Close a disposal race in AbortAtDeadlineExtension
nohwnd dba2383
Bound the pre-dump in-progress-test query with a short timeout
nohwnd c693499
Disarm the deadline once test execution completes
nohwnd 4de04d2
Force an async boundary before deadline handler work
nohwnd e3beadd
Merge remote-tracking branch 'origin/main' into nohwnd-deadline-aware…
nohwnd f484a19
Address the deadline-cancellation review comments
nohwnd 492ec13
Close the deadline-verdict race and query in-progress tests once per …
nohwnd 7581ebf
Cover the deadline exit-code reason and the one-query-per-dump rule
nohwnd bf11a67
Keep the deadline verdict separate from the one-shot callbacks
nohwnd 1a452e5
Commit the deadline verdict without awaiting after the claim
nohwnd a9072f8
Bound the deadline diagnostics and keep the dump's empty-list fallback
nohwnd 7794fe0
Disarm the deadline when the test framework invoker returns
nohwnd 3b0c9c3
Don't report a rejected graceful stop as a deadline truncation
nohwnd 40e3b35
Query the in-progress tests once per dump, not once per process
nohwnd a0567fe
Don't let a failing diagnostic skip the process tree kill
nohwnd 5a9655c
Merge deadline cancellation review fixes
nohwnd a9b514e
Merge latest deadline branch update
nohwnd 6acb5fa
Register IStopPoliciesService in the CommonHost request tests
nohwnd c49b3ac
Request the graceful stop before writing the deadline message
nohwnd c40c246
Address static analysis findings from the review
nohwnd 286b5eb
Merge origin/main into deadline-aware cancellation
nohwnd c2fdb6c
Enable deadline cancellation for dotnet test
nohwnd 674b208
Address deadline review feedback
nohwnd 8706876
Bound deadline dump diagnostics
nohwnd bad2ae9
Synchronize deadline stop outcome
nohwnd 00beaa6
Close deadline startup and dump races
nohwnd 946c650
Bound deadline diagnostics and fix CI
nohwnd 8fa56da
Bound remaining deadline paths
nohwnd b83f5d5
Tighten graceful-stop diagnostics
nohwnd d101fbf
Merge latest main
nohwnd ce5cdee
Assert dotnet test deadline summary
nohwnd f6843c0
Isolate deadline completion by request
nohwnd 58adca0
Harden concurrent deadline handling
nohwnd 8923aaf
Encapsulate shared execution count writes
nohwnd 8aa847c
Scope capability recreation to server requests
nohwnd 6f2f7bb
Close deadline reporting gaps
nohwnd ca984c4
Route server stops to active requests
nohwnd 658c4ce
Isolate server request deadline verdicts
nohwnd c108d87
Harden deadline stop coordination
nohwnd b04ad08
Move pending stop counter writes to static helpers
nohwnd 7428ca2
Guard legacy graceful stop requests
nohwnd adade74
Merge main into deadline-aware cancellation
nohwnd 3fde9ec
Close deadline request lifecycle gaps
nohwnd e86204c
Check server cancellation before request setup
nohwnd 338d0ad
Strengthen deadline lifecycle tests
nohwnd e4aa33f
Register hot reload deadline fallback early
nohwnd dc159c5
Dispose failed server request setup
nohwnd b2f96af
Start process tree dumps concurrently
nohwnd 44794c1
Dispatch process tree dumps concurrently
nohwnd 5f368ff
Address deadline cancellation review feedback
nohwnd 625f25f
Address follow-up deadline review feedback
nohwnd 29c2e9d
Stabilize hot reload deadline tests
nohwnd 76309c1
Address deadline review feedback
Evangelink aa2afc8
Merge main into deadline cancellation
nohwnd 3d51805
Require explicit deadline offset
nohwnd 782af16
Address remaining deadline review feedback
Evangelink 7e1201b
Merge main into deadline cancellation
nohwnd ba7cae7
Retry PR validation
nohwnd 450e321
Assert deadline-specific exit reason
nohwnd 3e2bc90
Clean up graceful stop test state
nohwnd b75739e
Latch graceful stop across server requests
nohwnd 8cec559
Tighten graceful stop lifecycle test
nohwnd 44b89a4
Assert deadline timer interval order
nohwnd cb606ef
Verify deadline reporter finalization
nohwnd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
src/Adapter/MSTest.TestAdapter/InternalAPI/InternalAPI.Unshipped.txt
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.