Skip to content

Conversation

@kkeirstead
Copy link
Member

Summary

The existing StdIn protocol relied on a newline to separate the ExtensionEgressPayload from the artifact in the stream; though this worked in most cases, this resulted in empty artifacts being egressed in some edge cases (the belief is that this was a result of Console.ReadLine's buffer). This PR moves away from separating the payload from the artifact via newline, instead specifying the size of the payload at the beginning of the StdIn stream, then reading the exact number of bytes required for the payload (before copying the artifact to the outputStream).

Release Notes Entry

@kkeirstead kkeirstead requested a review from a team as a code owner April 7, 2023 17:19
@ghost ghost added the needs-review label Apr 7, 2023
@ghost ghost removed the needs-review label Apr 7, 2023
@ghost ghost added the needs-review label Apr 7, 2023
@ghost ghost removed the needs-review label Apr 7, 2023
@ghost ghost added the needs-review label Apr 7, 2023
@ghost ghost removed the needs-review label Apr 10, 2023
@ghost ghost added needs-review and removed needs-review labels Apr 11, 2023
@ghost ghost added the needs-review label Apr 11, 2023
@ghost ghost removed the needs-review label Apr 11, 2023
@ghost ghost added the needs-review label Apr 11, 2023
@ghost ghost removed the needs-review label Apr 12, 2023
@ghost ghost added the needs-review label Apr 13, 2023
@ghost ghost removed the needs-review label Apr 13, 2023
@ghost ghost added the needs-review label Apr 13, 2023
@ghost ghost removed the needs-review label Apr 13, 2023
jander-msft
jander-msft previously approved these changes Apr 14, 2023
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.

4 participants