Discovery cancellation - #24713
Merged
Eleanor Boyd (eleanorjboyd) merged 8 commits intoJan 14, 2025
Merged
Conversation
There was a problem hiding this comment.
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- src/client/testing/testController/workspaceTestAdapter.ts: Evaluated as low risk
- src/client/testing/testController/pytest/pytestExecutionAdapter.ts: Evaluated as low risk
Comments suppressed due to low confidence (1)
src/client/testing/testController/pytest/pytestDiscoveryAdapter.ts:130
- Redundant cancellation handling. The
token?.onCancellationRequestedcallback is defined twice, once forprocand once forresultProc. This can be simplified to avoid confusion.
token?.onCancellationRequested(() => {
Tip: Leave feedback on Copilot's review comments with the 👎 and 👍 buttons to help improve review quality. Learn more
Eleanor Boyd (eleanorjboyd)
requested a review
from Anthony Kim (anthonykim1)
January 10, 2025 22:51
Eleanor Boyd (eleanorjboyd)
marked this pull request as ready for review
January 10, 2025 22:55
|
This PR originates from a fork. If the changes appear safe, you can trigger the pipeline by commenting |
Karthik Nadig (karthiknadig)
previously approved these changes
Jan 10, 2025
Eleanor Boyd (eleanorjboyd)
requested review from
Copilot and
Karthik Nadig (karthiknadig)
January 14, 2025 04:24
There was a problem hiding this comment.
Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.
Files not reviewed (3)
- src/client/testing/testController/workspaceTestAdapter.ts: Evaluated as low risk
- src/client/testing/testController/pytest/pytestExecutionAdapter.ts: Evaluated as low risk
- src/client/testing/testController/unittest/testExecutionAdapter.ts: Evaluated as low risk
Comments suppressed due to low confidence (1)
src/client/testing/testController/pytest/pytestDiscoveryAdapter.ts:194
- The assignment of resultProc should be moved before the token cancellation check to avoid any potential race conditions.
const result = execService?.execObservable(execArgs, spawnOptions);
Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more
Karthik Nadig (karthiknadig)
previously approved these changes
Jan 14, 2025
Eleanor Boyd (eleanorjboyd)
enabled auto-merge (squash)
January 14, 2025 16:45
Karthik Nadig (karthiknadig)
approved these changes
Jan 14, 2025
Anthony Kim (anthonykim1)
pushed a commit
to anthonykim1/vscode-python
that referenced
this pull request
Jan 17, 2025
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.
fixes #24602