Repository navigation
Description
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
- The workflow has had no successful run since 2026-11-04. Of its last 120 runs, 79 failed and 41 were cancelled.
- Before 2026-11-11 the macOS job failed in other tests (
security_second_runtime.rs:120). This module-initialization refusal has been the macOS failure on every run sampled since 2026-11-11. - The failure persists after the TinySecurity pin moved to v0.21.1 (
0254d54d64, fix(browser): bump TinySecurity to 0.21.1 so browser dials are authorized #8707, 2026-11-14). - Example runs, all on unrelated PRs:
- https://github.com/tinyhumansai/openhuman/actions/runs/43014137757 (2026-11-11)
- https://github.com/tinyhumansai/openhuman/actions/runs/43345904006 (2026-11-13)
- https://github.com/tinyhumansai/openhuman/actions/runs/43603511389 (2026-11-14)
- https://github.com/tinyhumansai/openhuman/actions/runs/43769433875 (2026-11-15)
- https://github.com/tinyhumansai/openhuman/actions/runs/43860961412 (2026-11-16)
- https://github.com/tinyhumansai/openhuman/actions/runs/43867707700 (2026-11-16, fix(browser): keep the admitted upstream proxies across refreshes; disclose them in the catalog #8744, merged with this check red)
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