Skip to content

Conversation

@karthiknadig
Copy link
Member

Fixes #127

@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Jan 21, 2025
@karthiknadig karthiknadig self-assigned this Jan 21, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

src/features/terminal/terminalManager.ts:162

  • [nitpick] The error message for the shell execution timeout is not very informative. Consider providing more context about the impact of the timeout.
traceError(`Shell execution timed out: ${command.executable} ${command.args?.join(' ')}`);

src/features/terminal/terminalManager.ts:160

  • Ensure that the new timeout behavior is covered by tests.
let timer: NodeJS.Timeout | undefined = setTimeout(() => {

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@karthiknadig karthiknadig requested a review from Copilot January 21, 2025 19:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

src/features/terminal/terminalManager.ts:162

  • [nitpick] The error message for the shell execution timeout could be more descriptive. Consider including additional context or suggestions for troubleshooting.
traceError(`Shell execution timed out: ${command.executable} ${command.args?.join(' ')}`);

src/features/terminal/terminalManager.ts:385

  • The new function isTaskTerminal should have test coverage to ensure it behaves as expected.
return terminal.name.toLowerCase().includes('task');

Tip: Turn on automatic Copilot reviews for this repository to get quick feedback on every pull request. Learn more

@karthiknadig karthiknadig marked this pull request as ready for review January 21, 2025 19:33
@karthiknadig karthiknadig enabled auto-merge (squash) January 21, 2025 19:33
@vs-code-engineering
Copy link

⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically. Learn more.

If the changes appear safe, you can manually trigger the pipeline by commenting /AzurePipelines run.

@vs-code-engineering vs-code-engineering bot added this to the January 2025 milestone Jan 21, 2025
@karthiknadig karthiknadig merged commit 5ecd795 into microsoft:main Jan 21, 2025
6 checks passed
@karthiknadig karthiknadig deleted the activate-timeout1 branch January 21, 2025 22:51
NguyenCuong1989 referenced this pull request in NguyenCuong1989/vscode-python-environments Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Activation times out on some terminals

2 participants