Skip to content
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

Wait 0.5 second for shell integration event, otherwise fall back to sendtext. #24248

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

anthonykim1
Copy link

For some reason, it seems like shell integration may take awhile to get activated: #24239

Performance issue seemed to indicate exactly 3 second coming from the https://github.com/microsoft/vscode-python/pull/24078/files#diff-5290f3097d5f92e3495c8abfbe095dff83c3f8de3dcac08ab2d0304f71bb412fR93, so lets try reducing this to 0.5 second and let user fall back to sendText. We may need further investigate why onDidChangeTerminalShellIntegration may be taking awhile.

@anthonykim1 anthonykim1 added bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary area-terminal labels Oct 4, 2024
@karthiknadig karthiknadig added this to the September 2024 Recovery 1 milestone Oct 4, 2024
@anthonykim1 anthonykim1 marked this pull request as ready for review October 4, 2024 17:19
@anthonykim1 anthonykim1 enabled auto-merge (squash) October 4, 2024 17:19
@anthonykim1 anthonykim1 merged commit 6bd34bf into microsoft:main Oct 4, 2024
43 of 46 checks passed
karthiknadig pushed a commit that referenced this pull request Oct 7, 2024
…endtext. (#24248)

For some reason, it seems like shell integration may take awhile to get
activated: #24239

Performance issue seemed to indicate exactly 3 second coming from the
https://github.com/microsoft/vscode-python/pull/24078/files#diff-5290f3097d5f92e3495c8abfbe095dff83c3f8de3dcac08ab2d0304f71bb412fR93,
so lets try reducing this to 0.5 second and let user fall back to
sendText. We may need further investigate why
onDidChangeTerminalShellIntegration may be taking awhile.
karthiknadig pushed a commit that referenced this pull request Oct 7, 2024
…endtext. (#24248)

For some reason, it seems like shell integration may take awhile to get
activated: #24239

Performance issue seemed to indicate exactly 3 second coming from the
https://github.com/microsoft/vscode-python/pull/24078/files#diff-5290f3097d5f92e3495c8abfbe095dff83c3f8de3dcac08ab2d0304f71bb412fR93,
so lets try reducing this to 0.5 second and let user fall back to
sendText. We may need further investigate why
onDidChangeTerminalShellIntegration may be taking awhile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-terminal 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