Skip to content

net9 full test run can fail with closed TextWriter during parallel console writes #2775

Description

@Widthdom

During validation for PR #2757, dotnet test CodeIndex.sln -c Release -p:UseSharedCompilation=false passed net8 but failed net9 with 77 tests reporting System.ObjectDisposedException: Cannot write to a closed TextWriter across unrelated console/MCP test paths such as IndexCommandRunnerTests, McpServerTests, and LegacySchemaMigrationTests. The focused FileIndexer tests passed for both net8 and net9. This appears unrelated to the FileIndexer changes and should be investigated separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions