-
Notifications
You must be signed in to change notification settings - Fork 4.4k
chore: replace some progress.cleanup calls with try/catch #36769
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
chore: replace some progress.cleanup calls with try/catch #36769
Conversation
a176838
to
2347994
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2347994
to
277c207
Compare
This comment has been minimized.
This comment has been minimized.
7306f9d
to
abb91ee
Compare
This comment has been minimized.
This comment has been minimized.
Test results for "tests others"22255 passed, 514 skipped Merge workflow run. |
This comment has been minimized.
This comment has been minimized.
Test results for "tests 2"12 fatal errors, not part of any test 131 flaky240016 passed, 9596 skipped Merge workflow run. |
Now that legacy timeout mechanism is gone, we can replace all kinds of cleanups with an explicit try/catch.
abb91ee
to
0bd01ea
Compare
Test results for "tests 1"5 flaky46499 passed, 804 skipped Merge workflow run. |
progress.raceWithCleanup()
due to unclear semantics, and replaces it with a helperraceUncancellableOperationWithCleanup()
that should be rarely used.