Skip to content

repository-validation-real-process-2675 signal test fails deterministically on macos-latest runners (blocks all PR unit matrices) #2738

Description

@zaxbysauce

Summary

tests/unit/scripts/ci/repository-validation-real-process-2675.test.ts — test "records a POSIX signal as crashed, distinct from timeout" (line ~104-122) fails deterministically on macos-latest CI runners as of 2026-09-12. The spawned CRASH_FIXTURE child survives the delivered POSIX signal and exits 0, so the harness records status: "passed" instead of "crashed":

Expected: "crashed"
Received: "passed"
at tests/unit/scripts/ci/repository-validation-real-process-2675.test.ts:117:27

Evidence (9/9 failures across two unrelated PRs, different shards + runner machines)

Likely root cause

A macOS runner-image and/or Bun 1.3.13 behavior change: the crash fixture (child process expected to die from a delivered POSIX signal) now survives the signal on macos-latest and exits 0. The test already win32-skips; macOS needs the same treatment until the fixture is made signal-robust (e.g. deliver SIGKILL instead of a trappable signal, or detect survival and fail with an explicit "child survived signal" diagnostic).

Interim quarantine

Both affected PRs will add the test file to scripts/ci/quarantined-tests-macos.txt (OWNER: this issue, EXPIRY: 2026-09-26) so the unit matrix is unblocked. Ubuntu coverage is unaffected. Retirement criterion: fix the fixture/harness signal handling, verify the test passes on macos-latest, remove the quarantine entry.

Activity

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions