Skip to content

[test-sourcekit-lsp] Use communicate to wait for subprocess to exit #150

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

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Nov 27, 2024

https://docs.python.org/3/library/subprocess.html#subprocess.Popen.wait says that wait can deadlock if the process use pipes (which we do) and if it generates too much output.

Might fix rdar://140425949 but I’m entirely certain because that radar looks like a crash in LLVM, which I don’t fully understand.

https://docs.python.org/3/library/subprocess.html#subprocess.Popen.wait says that `wait` can deadlock if the process use pipes (which we do) and if it generates too much output.

Might fix rdar://140425949 but I’m entirely certain because that radar looks like a crash in LLVM, which I don’t fully understand.
@ahoppen ahoppen requested a review from hamishknight November 27, 2024 13:17
@ahoppen
Copy link
Member Author

ahoppen commented Nov 27, 2024

@swift-ci Please build toolchain

@ahoppen ahoppen merged commit 0f26339 into swiftlang:main Dec 3, 2024
@finagolfin
Copy link
Member

@ahoppen, is this change possibly contributing to the several CI failures of this test today?

@ahoppen
Copy link
Member Author

ahoppen commented Dec 7, 2024

Those should be fixed by #151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants