Skip to content

[test] fd_redirects parallel-race: 6 reds under parallel run, 19/19 green serially #667

Closed

Description

@caomengxuan666

Spotted during #615 triage: full parallel run shows 6 fd_redirects reds (combined_append, stderr_to_stdout, stdout_to_stderr, write_error_closed_stdout, persistent_fd_stdout, stderr_fd_copy); the same 19/19 pass with --test-threads=1. Suspect shared temp/helper dir race (matches known note in #615 thread). Needs a bounded repro (parallel-only) + helper-dir isolation or test-mutex. cli_tests serial gate is green (465/0/3 ignored).

Activity

  1. caomengxuan666 commented on Oct 16, 2026

    @caomengxuan666
    MemberAuthor

    Fix up as PR #676 (branch fix/issue667-fd-parallel-race): unique helper dir per call (pid+ThreadId+counter). Parallel file-run 10/19->19/19 (3x), serial 19/19. Test-only.

  2. caomengxuan666 commented on Oct 16, 2026

    @caomengxuan666
    MemberAuthor

    Landed as #676 (squash-merged ea7e2b8). Parallel file-run 19/19 (3x), serial 19/19.

  3. added a commit that references this issue on Oct 16, 2026
  4. added
    tests
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions