Repository navigation
eng: cleanup some leaks around around editors and workbenchInstantiationService - #190623
Merged
Merged
Conversation
Fixes some leaks I found while looking at #190444, by adding ensureNoDisposablesAreLeakedInTestSuite to the suite. I don't have a dev setup for inline chat, so I have not tested this beyond running tests and verifying the fix
…ionService I added a disposable leak tracker to a test that used `workbenchInstantiationService`. This fixes the baseline leaks and some extra leaks with that function.
Don Jayamanne (DonJayamanne)
previously approved these changes
Aug 16, 2023
Contributor
|
Connor Peet (@connor4312) this is very cool but should probably be reviewed by each respective component owner? |
Benjamin Pasero (bpasero)
self-requested a review
August 17, 2023 09:52
Johannes Rieken (jrieken)
suggested changes
Aug 17, 2023
Johannes Rieken (jrieken)
left a comment
Contributor
There was a problem hiding this comment.
request changes (or explanation) because of the busy loop in test
Connor Peet (connor4312)
disabled auto-merge
August 17, 2023 17:27
Member
Author
|
cc other owners João Moreno (@joaomoreno) Henning Dieterichs (@hediet) Alexandru Dima (@alexdima) SteVen Batten (@sbatten) please let me know if anything you own in this PR looks concerning |
Henning Dieterichs (hediet)
approved these changes
Aug 18, 2023
Johannes Rieken (jrieken)
approved these changes
Aug 18, 2023
Contributor
|
🙅 This needs to be reopened until I had a chance to review. |
Connor Peet (connor4312)
added a commit
that referenced
this pull request
Aug 18, 2023
This reverts commit 6336ee7.
Connor Peet (connor4312)
added a commit
that referenced
this pull request
Aug 18, 2023
This reverts commit 6336ee7.
Connor Peet (connor4312)
added a commit
that referenced
this pull request
Aug 21, 2023
Re-applies #190623 which I merged before everyone had a chance to review. Alex and Ben, you were the two people whose code this touches and didn't review it in the original PR.
Benjamin Pasero (bpasero)
added a commit
that referenced
this pull request
Aug 23, 2023
* eng: reapply test leak fixes Re-applies #190623 which I merged before everyone had a chance to review. Alex and Ben, you were the two people whose code this touches and didn't review it in the original PR. * 💄 * fix merge * better handling of editor listeners --------- Co-authored-by: Benjamin Pasero <[email protected]>
Krzysztof Cieślak (Krzysztof-Cieslak)
pushed a commit
to githubnext/vscode
that referenced
this pull request
Sep 18, 2023
…ionService (microsoft#190623) * inline chat: fix leaks found in testing Fixes some leaks I found while looking at microsoft#190444, by adding ensureNoDisposablesAreLeakedInTestSuite to the suite. I don't have a dev setup for inline chat, so I have not tested this beyond running tests and verifying the fix * eng: cleanup some leaks around around editors and workbenchInstantiationService I added a disposable leak tracker to a test that used `workbenchInstantiationService`. This fixes the baseline leaks and some extra leaks with that function. * fix build * rm too-eager leak checker * remove forgotten busy loop
Krzysztof Cieślak (Krzysztof-Cieslak)
pushed a commit
to githubnext/vscode
that referenced
this pull request
Sep 18, 2023
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
I added a disposable leak tracker to a test that used
workbenchInstantiationService.This fixes the baseline leaks and some extra leaks with that function.