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.
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
dont automatically inject PYTHONSTARTUP #24346
dont automatically inject PYTHONSTARTUP #24346
Changes from 18 commits
154a3e2
377e700
d60f310
6d8ba24
37cd45b
fbcebd2
1bbd0bc
3aa86bf
5f53706
d327903
2db9394
8b5eeb0
7c0b405
0ccb053
40ff863
7dd3f83
3c3bfc9
c1a51ad
4ea5c67
8fb2e24
83dbb90
2f3e787
eaa78f2
d12ae35
f7f8ef6
6b4b097
edb91ba
eaaf338
de99824
dbb2e2a
038c98e
aa07144
490ef8b
c896ce7
59a3116
4fd5369
b40f53f
e527be7
446e95c
1435329
12f7b3e
4a2a5d0
c56fb61
d4b0227
9e0d33d
6fba2a8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Found that without this, smoke test would time out.
Havent heard issue from user about execution taking forever, so in real-life I think onDidEndTerminalShellExecution gets back in reasonable amout of time.
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.
still added the promise just in case there is a case where onDidEndTerminalShellExecution never gets fired, we don't want people stuck and waiting for their execution result forever.
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.
You would have already scheduled something to run on the terminal. Doesn't
sendText
mean that it will now add yet another command? Also, in practicePromise.race
returns when one of the two finishes, wouldn't it stillsendText
. there is nothing stopping thesetTimeout
function from running,Are you sure that CI is using the new powershell, and not the old one. Have we ensured to set the default shell type to be Powershell when testing this.
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.
I got the smoke tests to use pwsh now :) 12f7b3e
But Im not sure if it is using the newer pwsh or the slower one