Skip to content
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

Consistent disposal of receivers across adapters #21759

Conversation

eleanorjboyd
Copy link
Member

Few items:

  • every adapter has a disposeDataReceiver function
  • all disposeDataReceiver functions handle uuid deleting creating a single point of uuid deletion per adapter
  • always end with the disposal of the receiver to ensure no repeat receivers on retries
  • cancelation and the end of a subprocess both result in the same function call to cleanup

@eleanorjboyd eleanorjboyd added the bug Issue identified by VS Code Team member as probable bug label Aug 4, 2023
@eleanorjboyd eleanorjboyd self-assigned this Aug 4, 2023
@eleanorjboyd eleanorjboyd added the skip tests Updates to tests unnecessary label Aug 4, 2023
@eleanorjboyd
Copy link
Member Author

label "skip-test" added for now until tests can be properly written that watch the order in which events happen. Only delayed to get bug fix in

@eleanorjboyd eleanorjboyd marked this pull request as ready for review August 4, 2023 17:08
@eleanorjboyd eleanorjboyd changed the base branch from main to feature-branch-testing-overflow-bug-fix August 7, 2023 19:57
@eleanorjboyd eleanorjboyd merged commit b299ec9 into microsoft:feature-branch-testing-overflow-bug-fix Aug 10, 2023
27 of 29 checks passed
@eleanorjboyd eleanorjboyd deleted the lavender-honeybee branch August 10, 2023 19:29
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 11, 2023
eleanorjboyd added a commit that referenced this pull request Aug 14, 2023
Few items:
- every adapter has a disposeDataReceiver function
- all disposeDataReceiver functions handle uuid deleting creating a
single point of uuid deletion per adapter
- always end with the disposal of the receiver to ensure no repeat
receivers on retries
- cancelation and the end of a subprocess both result in the same
function call to cleanup
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
eleanorjboyd added a commit that referenced this pull request Aug 14, 2023
Few items:
- every adapter has a disposeDataReceiver function
- all disposeDataReceiver functions handle uuid deleting creating a
single point of uuid deletion per adapter
- always end with the disposal of the receiver to ensure no repeat
receivers on retries
- cancelation and the end of a subprocess both result in the same
function call to cleanup
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
Few items:
- every adapter has a disposeDataReceiver function
- all disposeDataReceiver functions handle uuid deleting creating a
single point of uuid deletion per adapter
- always end with the disposal of the receiver to ensure no repeat
receivers on retries
- cancelation and the end of a subprocess both result in the same
function call to cleanup
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants