Uh oh!
There was an error while loading. Please reload this page.
Add an option to do zero byte reads on StreamPipeReader - #49117
Conversation
ghost
commented
Mar 4, 2021
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Added WaitForData to StreamPipeReader options that allows not allocating a buffer by doing a zero byte read on the underlying Stream before the internal buffer is allocated.
4b16f10 to
65959ecComparedavidfowl
commented
Mar 10, 2021
This is ready for review. |
Uh oh!
There was an error while loading. Please reload this page.
| [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))] | ||
| [InlineData(false)] | ||
| [InlineData(true)] | ||
| public async Task CanReadMultipleTimes(bool useZeroByteReads) |
There was a problem hiding this comment.
There should be another test with a mocked stream so we can check that it actually issues zero byte reads
Uh oh!
There was an error while loading. Please reload this page.
davidfowl
commented
Mar 10, 2021
Something broken with Codedom? |
Not sure about codedom, but I've been seeing this error on a variety of PRs (including this one) over the last day or so: |
ViktorHofer
commented
Mar 10, 2021
@ericstj fixed that issue yesterday after new packages were published to nuget.org. |
stephentoub
commented
Mar 10, 2021
This failure was only 3 hrs ago. Was that somehow based on something stale? |
BrennanConroy
commented
Mar 10, 2021
The last push was 22 hours ago, if you re-run from the AzDo UI I don't think you get a fresh rebase on main, so you're still running against 22 hour old bits. If you use |
davidfowl
commented
Mar 10, 2021
/azp run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
davidfowl
commented
Mar 10, 2021
/azp run runtime |
|
Azure Pipelines successfully started running 1 pipeline(s). |
davidfowl
commented
Mar 10, 2021
/azp run runtime (Libraries Build windows allConfigurations x64 Debug) |
|
No pipelines are associated with this pull request. |
davidfowl
commented
Mar 10, 2021
/azp run runtime windows allConfigurations x64 Debug |
|
No pipelines are associated with this pull request. |
Fixes#37539
TODO: Finish API review