-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Run extension-internal scripts "isolated". #10941
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
Run extension-internal scripts "isolated". #10941
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10941 +/- ##
==========================================
- Coverage 60.78% 60.74% -0.05%
==========================================
Files 585 585
Lines 31924 31944 +20
Branches 4523 4524 +1
==========================================
- Hits 19406 19405 -1
- Misses 11530 11549 +19
- Partials 988 990 +2
Continue to review full report at Codecov.
|
@rchiodo There are changes to how we execute internal scripts. Please have a look. |
src/client/datascience/jupyter/interpreter/jupyterInterpreterSubCommandExecutionService.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
936cb2d
to
d8a6cf3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only comment is to update move the contents of internal.ts
into separate modules under internals rather than using namespaces
.
d8a6cf3
to
9d1fdc3
Compare
9ee3953
to
32715fe
Compare
32715fe
to
f48bb30
Compare
Kudos, SonarCloud Quality Gate passed!
|
For #10681.
This makes it so that none of the extension's internal scripts get run with
sys.path[0]
set to CWD. Note that test adapter script is the only one that is not run isolated.