Skip to content

test: our_own_process_group_is_readable reads /proc and is not cfg-gated to Linux — cannot pass on darwin #662

Description

@gudnuf

Found during the #657 review (and reproduced independently on this darwin box, including against unmodified main).

driver::acp_driver::group_scope_tests::our_own_process_group_is_readable reads /proc/<pid>/stat, which does not exist on macOS, and the test carries no #[cfg(target_os = "linux")] gate. It fails deterministically (0.01s) on darwin in any local run of cargo test -p maxplayer-core --features acp,wallet --lib.

Effect: every darwin contributor sees a phantom red in the full suite and has to rediscover that it is a portability artifact — the same suite-hygiene class as #339's live-mint dependency. Fix is the missing cfg gate (or a portable process-group probe).

🤖 Generated with Claude Code

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