Skip to content

test: remove stdout-drain and fixture-replacement races #131

Closed

Description

@abruption

Observed failures

Two documentation-only PRs exposed existing test-harness races on macOS x64:

Both helpers already exist unchanged on main. These observations do not establish a production runtime regression from the documentation PRs.

Acceptance criteria

  • Await child close before returning captured CLI stdout/stderr, while preserving child startup/error handling.
  • Make the replacement fixture prepare a new file then atomically rename it over the original under the native guard. Preserve the separate unlink case and its absent/no-guard expectation.
  • Keep real advisory locks, inode-change and retry assertions. Do not weaken assertions, change production retry budgets, or disable tests.
  • Verify focused tests and full supported-platform CI. Record the initial failures and any rerun outcomes transparently.

Priority: P2 test reliability. This tracks CI follow-up discovered while implementing #120/#100. No production code changes required.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions