You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: remove stdout-drain and fixture-replacement races #131
Two documentation-only PRs exposed existing test-harness races on macOS x64:
docs: clarify dependency range and pinning policy #124, run 38350388686, Node 22: malformed-thread-id JSON contract test saw empty stdout after the expected exit code 64. test/cli-contract.test.mjs collects pipe data but resolves on child exit, before the close event confirms stdio is drained.
docs: define platform-specific lock attribution adoption gates #125, run 38350521889, Node 22.13.0: coordinated replace test accessed an absent result.guard. The native-writer fixture renames the old file away, then writes a new file, exposing an absent path between operations. The probe may correctly report confirmed absence/free during that gap; the replacement test expects an acquired coordinator and changed inode.
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.
Activity