Skip to content

Fix failing global virtual env watcher tests#14633

Merged
karrtikr merged 1 commit intomicrosoft:mainfrom
karrtikr:fixP0
Nov 6, 2020
Merged

Fix failing global virtual env watcher tests#14633
karrtikr merged 1 commit intomicrosoft:mainfrom
karrtikr:fixP0

Conversation

@karrtikr
Copy link
Copy Markdown

@karrtikr karrtikr commented Nov 5, 2020

For #14618

Only the last commit is relevant. The rest of the PR is based on #14605. P.S I'll only merge this one after that one.

@karrtikr karrtikr added the no-changelog No news entry required label Nov 5, 2020
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #14633 into main will increase coverage by 0.11%.
The diff coverage is 35.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #14633      +/-   ##
==========================================
+ Coverage   64.89%   65.01%   +0.11%     
==========================================
  Files         541      543       +2     
  Lines       25156    25425     +269     
  Branches     3545     3593      +48     
==========================================
+ Hits        16324    16529     +205     
- Misses       8170     8219      +49     
- Partials      662      677      +15     
Impacted Files Coverage Δ
src/client/common/platform/fileSystemWatcher.ts 22.22% <5.88%> (-2.23%) ⬇️
...pythonEnvironments/common/pythonBinariesWatcher.ts 33.33% <12.50%> (-28.21%) ⬇️
src/client/common/syncDisposableRegistry.ts 21.42% <21.42%> (ø)
...nments/base/locators/lowLevel/fsWatchingLocator.ts 34.37% <34.37%> (ø)
src/client/pythonEnvironments/base/locator.ts 69.23% <75.00%> (-14.11%) ⬇️
...discovery/locators/services/windowsStoreLocator.ts 97.91% <83.33%> (+11.12%) ⬆️
...ocators/services/globalVirtualEnvronmentLocator.ts 100.00% <100.00%> (+3.57%) ⬆️
...rc/client/pythonEnvironments/common/commonUtils.ts 85.93% <0.00%> (-14.07%) ⬇️
...nments/discovery/locators/services/condaLocator.ts 93.93% <0.00%> (-6.07%) ⬇️
.../locators/services/virtualEnvironmentIdentifier.ts 91.78% <0.00%> (-5.59%) ⬇️
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f752706...308d1e3. Read the comment docs.

@karrtikr karrtikr linked an issue Nov 5, 2020 that may be closed by this pull request
@brettcannon
Copy link
Copy Markdown
Member

@karrtikr now that the dependent PR is merged, can this have its conflicts resolved and be merged?

@karrtikr
Copy link
Copy Markdown
Author

karrtikr commented Nov 6, 2020

@brettcannon Yep, doing that.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Nov 6, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@karrtikr karrtikr merged commit a293ac4 into microsoft:main Nov 6, 2020
@karrtikr karrtikr deleted the fixP0 branch November 6, 2020 01:10
karthiknadig pushed a commit to karthiknadig/vscode-python that referenced this pull request Nov 9, 2020
karthiknadig pushed a commit to karthiknadig/vscode-python that referenced this pull request Nov 9, 2020
karthiknadig added a commit that referenced this pull request Nov 9, 2020
* Added FSWatching base class and made related changes (#14605)

* Add FSWatching locator base class

* Correct glob pattern to not match python3.2whoa

* Add documentation of python binary watcher

* Fix lint errors

* Update ignore list

* Add disposable registry

* Modify FSWatching Locator

* Code reviews

* Use string[]

* Remove list disposable getter

* Fix failing global virtual env watcher tests (#14633)

Co-authored-by: Kartik Raj <[email protected]>
karthiknadig added a commit that referenced this pull request Nov 26, 2020
* Cherry pick from main (#14644)

* Update shipped wheels version (#14615)

* Update shipped wheels version

* News item

* Remove redundant files (#14620)

* Add extension dependencies at build time (#14636)

* Use Node 12.15 in Insiders and Release GitHub Actions (#14641)

* Use Node 12.15 on all Insiders and Release GitHub Actions jobs (#14642)

Co-authored-by: Joyce Er <[email protected]>

* Cherry pic fixes into release for tests. (#14673)

* Added FSWatching base class and made related changes (#14605)

* Add FSWatching locator base class

* Correct glob pattern to not match python3.2whoa

* Add documentation of python binary watcher

* Fix lint errors

* Update ignore list

* Add disposable registry

* Modify FSWatching Locator

* Code reviews

* Use string[]

* Remove list disposable getter

* Fix failing global virtual env watcher tests (#14633)

Co-authored-by: Kartik Raj <[email protected]>

* Version, change log and cherrypicks for nov release (#14696)

* change log updates

* Update gifs

* Fix for interpreter selection (#14693)

* Fix for interpreter selection

* Fix linting errors

* Minor tweak to property removal

* Cherry pick "Bind function to correct this for workspace syms" (#14743)

* Fix #14674: Enable overriding "pythonPath" in the launcher

Fix #12462: Update launch.json schema to add "python" and remove "pythonPath"

Split the "pythonPath" debug property into "python", "debugAdapterPython", and "debugLauncherPython".

Do most debug config validation on fully expanded property values via resolveDebugConfigurationWithSubstitutedVariables().

Add fixups for legacy launch.json with "pythonPath".

* Point release change log and version update (#14750)

* Point release change log and version update

* Fix process picker (#14700)

* Workaround VSCode bug for process picker

* Fix how we pass in icons to VSCode

* update change log with cherry pick

Co-authored-by: Kartik Raj <[email protected]>

Co-authored-by: Joyce Er <[email protected]>
Co-authored-by: Kartik Raj <[email protected]>
Co-authored-by: Jake Bailey <[email protected]>
Co-authored-by: Pavel Minaev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GHA: Detect a new Virtual Environment fails with timeout

5 participants