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

add std out to subprocess to stop overflow #21758

Conversation

eleanorjboyd
Copy link
Member

Displays output to the user and ensures the subprocess doesn't run into buffer overflow. Bug was introduced with the switch to the execObservable in #21667. Only occurs for large repos where output from pytest was large enough to reach buffer overflow.

@eleanorjboyd eleanorjboyd self-assigned this Aug 4, 2023
@eleanorjboyd eleanorjboyd added the bug Issue identified by VS Code Team member as probable bug label Aug 4, 2023
src/test/mocks/helper.ts Outdated Show resolved Hide resolved
@eleanorjboyd eleanorjboyd added the skip tests Updates to tests unnecessary label Aug 4, 2023
@eleanorjboyd
Copy link
Member Author

added skip-test label because test mocks were updated (which lead to the tests working again) but this file pattern is not caught under the CLI review.

src/test/mocks/helper.ts Outdated Show resolved Hide resolved
@eleanorjboyd eleanorjboyd changed the base branch from main to feature-branch-testing-overflow-bug-fix August 7, 2023 19:57
@eleanorjboyd eleanorjboyd merged commit 461fb91 into microsoft:feature-branch-testing-overflow-bug-fix Aug 11, 2023
@eleanorjboyd eleanorjboyd deleted the add-stdout branch August 11, 2023 16:03
eleanorjboyd added a commit that referenced this pull request Aug 14, 2023
Displays output to the user and ensures the subprocess doesn't run into
buffer overflow. Bug was introduced with the switch to the
execObservable in #21667.
Only occurs for large repos where output from pytest was large enough to
reach buffer overflow.
eleanorjboyd added a commit that referenced this pull request Aug 14, 2023
Displays output to the user and ensures the subprocess doesn't run into
buffer overflow. Bug was introduced with the switch to the
execObservable in #21667.
Only occurs for large repos where output from pytest was large enough to
reach buffer overflow.
eleanorjboyd added a commit to eleanorjboyd/vscode-python that referenced this pull request Aug 14, 2023
Displays output to the user and ensures the subprocess doesn't run into
buffer overflow. Bug was introduced with the switch to the
execObservable in microsoft#21667.
Only occurs for large repos where output from pytest was large enough to
reach buffer overflow.
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 skip tests Updates to tests unnecessary
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants