Skip to content

Consistent disposal of receivers across adapters - #21759

Merged
Eleanor Boyd (eleanorjboyd) merged 3 commits into
microsoft:feature-branch-testing-overflow-bug-fixfrom
eleanorjboyd:lavender-honeybee
Aug 10, 2023
Merged

Consistent disposal of receivers across adapters#21759
Eleanor Boyd (eleanorjboyd) merged 3 commits into
microsoft:feature-branch-testing-overflow-bug-fixfrom
eleanorjboyd:lavender-honeybee

Conversation

@eleanorjboyd

Copy link
Copy Markdown
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 Eleanor Boyd (eleanorjboyd) added the bug Issue identified by VS Code Team member as probable bug label Aug 4, 2023
@eleanorjboyd Eleanor Boyd (eleanorjboyd) added the skip tests Updates to tests unnecessary label Aug 4, 2023
@eleanorjboyd

Copy link
Copy Markdown
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
Eleanor Boyd (eleanorjboyd) marked this pull request as ready for review August 4, 2023 17:08
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) changed the base branch from main to feature-branch-testing-overflow-bug-fix August 7, 2023 19:57
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) merged commit b299ec9 into microsoft:feature-branch-testing-overflow-bug-fix Aug 10, 2023
@eleanorjboyd
Eleanor Boyd (eleanorjboyd) deleted the lavender-honeybee branch August 10, 2023 19:29
Eleanor Boyd (eleanorjboyd) added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 11, 2023
Eleanor Boyd (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
Eleanor Boyd (eleanorjboyd) added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
Eleanor Boyd (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
Eleanor Boyd (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
Eleanor Boyd (eleanorjboyd) added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
Eleanor Boyd (eleanorjboyd) added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
Eleanor Boyd (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