Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Dec 6, 2024

No description provided.

@ahoppen
Copy link
Member Author

ahoppen commented Dec 6, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit 7cc63f5 into swiftlang:main Dec 6, 2024
3 checks passed
@ahoppen ahoppen deleted the log-package-loading branch December 6, 2024 17:02
ahoppen added a commit to ahoppen/swift-integration-tests that referenced this pull request Dec 7, 2024
`self.process.stdout.read` reads a number of Unicode characters, but the `Content-Length` specifies number of bytes. This started causing deterministic issues since swiftlang/sourcekit-lsp#1861 is logging messages from package loading, which contains emojis.

Switch `stdout` and `stderr` to binary mode and manually decode them into UTF-8 when needed.
ahoppen added a commit to ahoppen/swift-integration-tests that referenced this pull request Dec 11, 2024
`self.process.stdout.read` reads a number of Unicode characters, but the `Content-Length` specifies number of bytes. This started causing deterministic issues since swiftlang/sourcekit-lsp#1861 is logging messages from package loading, which contains emojis.

Switch `stdout` and `stderr` to binary mode and manually decode them into UTF-8 when needed.
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.

2 participants