Skip to content

CI: Security native fixture fails on macos-15, because the pinned TinySecurity module refuses to initialize #8751

Open

Description

@M3gA-Mind

What fails

The Native policy fixture (macos-15) job in .github/workflows/security-native.yml fails on every pull request that runs it. The test is native_fixture_exercises_the_pinned_release_contracts in tests/security_native_fixture.rs (run as -p openhuman-cli --test security_native_fixture):

panicked at crates/openhuman-cli/../../tests/security_native_fixture.rs:177:10:
pinned TinySecurity module should load on supported native runners: Unavailable("module 'tinysecurity' callback load failed: module `libtinysecurity_module.dylib` refused: module initialization failed. This is terminal for the running process; restart the app to try again")

The ubuntu-24.04 and windows-2025 jobs of the same runs pass, for example in https://github.com/tinyhumansai/openhuman/actions/runs/43848413147.

Since when, and how often

What it blocks

The check is red on every PR, so it no longer tells anyone whether a change broke the native TinySecurity contract on macOS. PRs are being merged past it. The workflow runs only on pull requests and on dispatch, so main has no run to compare against.

Suggested next step

The refusal is raised in TinyBus's callback loader (host_callbacks.rs). It fires when module initialization fails or the module is not ready within 5 s. A useful first step is to capture the module's own initialization log in the macos-15 job, to see which of the two it is. If it's the 5 s readiness budget on a cold macOS runner, raise the budget for the fixture. Otherwise, check the v0.21.x macos-15-arm64 asset that the module record pins (modules/registry/records_security.rs).

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