Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Discovery cancellation#24713

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

eleanorjboyd
Copy link
Member

fixes#24602

@eleanorjboydeleanorjboyd added the feature-requestRequest for new features or functionality labelJan 10, 2025
@eleanorjboydeleanorjboyd self-assigned thisJan 10, 2025
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

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. Thetoken?.onCancellationRequested callback is defined twice, once forproc and 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

@eleanorjboydeleanorjboyd marked this pull request as ready for reviewJanuary 10, 2025 22:55
@vs-code-engineeringVS Code Engineering
Copy link

This PR originates from a fork. If the changes appear safe, you can trigger the pipeline by commenting/AzurePipelines run.

@vs-code-engineeringvs-code-engineeringbot added this to theJanuary 2025 milestoneJan 10, 2025
karthiknadig
karthiknadig previously approved these changesJan 10, 2025
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

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

karthiknadig
karthiknadig previously approved these changesJan 14, 2025
@eleanorjboydeleanorjboydenabled auto-merge (squash)January 14, 2025 16:45
@eleanorjboydeleanorjboyd merged commit8c54b8a intomicrosoft:mainJan 14, 2025
46 checks passed
anthonykim1 pushed a commit to anthonykim1/vscode-python that referenced this pull requestJan 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@karthiknadigkarthiknadigkarthiknadig approved these changes

@anthonykim1anthonykim1Awaiting requested review from anthonykim1

Assignees

@eleanorjboydeleanorjboyd

Labels
feature-requestRequest for new features or functionality
Projects
None yet
Milestone
January 2025
Development

Successfully merging this pull request may close these issues.

Make test discovery cancellable
2 participants
@eleanorjboyd@karthiknadig

[8]ページ先頭

©2009-2025 Movatter.jp