Skip to content

pipeReadableStreamToBlob assertion failure on Windows when readStreamIntoSink completes synchronously #28090

@robobun

Description

@robobun

When readStreamIntoSink completes synchronously (i.e. readMany() returns done:true without awaiting), $startDirectStream is never called, so the signal pointer remains dead. On Windows this triggers a pre-existing assertion failure in the stream-to-file path in pipeReadableStreamToBlob.

The assertion was removed in #28075 (for the non-Windows path), but the Windows stream-to-file pipe path has additional issues that need separate investigation.

Tests in test/regression/issue/13237.test.ts are currently skipped on Windows pending this fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions