Problem
Running the default multi-target test command can execute the net8.0 and net9.0 suites concurrently. During that run, LocalJsonlJsonWriterOptionsTests.RelaxedEncoderAndHelperStayLimitedToLocalJsonlSinks recursively enumerates a target output tree while another test owns an unreadable mcp_index_unreadable_marker_*/secret fixture there. The source enumeration then fails with UnauthorizedAccessException / IOException: Operation not permitted.
Reproduction
dotnet test --no-restore --nologo
Observed path shape:
tests/CodeIndex.Tests/bin/Debug/net8.0/mcp_index_unreadable_marker_*/secret
Expected
The default multi-target test run should be isolated across target frameworks. Source-policy enumeration should either exclude transient test fixture directories or safely handle intentionally unreadable fixtures without hiding genuine source-tree access failures.
Context
Observed during the Codex adversarial review for #4909. The #4909-related tests themselves were not involved in this failure.
Problem
Running the default multi-target test command can execute the net8.0 and net9.0 suites concurrently. During that run,
LocalJsonlJsonWriterOptionsTests.RelaxedEncoderAndHelperStayLimitedToLocalJsonlSinksrecursively enumerates a target output tree while another test owns an unreadablemcp_index_unreadable_marker_*/secretfixture there. The source enumeration then fails withUnauthorizedAccessException/IOException: Operation not permitted.Reproduction
Observed path shape:
Expected
The default multi-target test run should be isolated across target frameworks. Source-policy enumeration should either exclude transient test fixture directories or safely handle intentionally unreadable fixtures without hiding genuine source-tree access failures.
Context
Observed during the Codex adversarial review for #4909. The #4909-related tests themselves were not involved in this failure.