Skip to content

Investigate macOS ARM64 pipe registration failure in the kqueue streaming case #570

Closed

Description

@LunaStev

Observed failure

After the reserved identifiers in #544 were repaired, the native macOS ARM64 cases job at PR #569 head 834368d33f2595dfb8db1ef48dc2cd9e6850dade reached execution: 134 passed, 1 failed, 0 skipped. macos/arm64/test6.wave exits with 3.

Failing case log

In tests/cases/macos/arm64/test6.wave, exit 3 is the first event_add(resources.queue, resources.reader, token, 1) < 0 check. Pipe creation and event queue creation have succeeded. The log does not expose the returned errno, so it does not yet identify whether the defect is in descriptor handling, native event layout, call lowering, or the provider.

Next investigation

  • Reproduce on native macOS ARM64 and retain the negative result from event_add/native_kevent.
  • Reduce the read-end pipe registration while retaining the original streaming workload.
  • Audit std/sys/macos/event.wave: _add_filters, _change, NativeKevent layout, aggregate assignment and native kevent arguments. Check io_pipe descriptor output as well.
  • Compare native call inputs with the OS contract before changing provider or codegen behavior.

Acceptance

The original case must register the pipe and complete streaming decoding, level-triggered readiness, EOF draining, token identity and cleanup assertions. Add a focused regression at the identified layer and run native macOS ARM64 cases without skipping this workload or weakening its checks.

This is a newly exposed runtime failure, separate from the identifier parsing fix in #544. Related: #569. It needs ABI/runtime investigation and is not a good first issue.

Activity

  1. added
    ci
    bug
    os-specific bug
    needs testing
    help wanted
    on Sep 10, 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

    bugcihelp wantedneeds testingos-specific bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions