Skip to content

fix: make the macOS CI cell green - #171

Closed
futrime wants to merge 3 commits into
mainfrom
fix/macos-ci
Closed

futrime wants to merge 3 commits into
mainfrom
fix/macos-ci

Conversation

@futrime

@futrime futrime commented Oct 3, 2026

Copy link
Copy Markdown
Member

Makes the macos-latest test cell pass without removing it from the matrix: real macOS bugs fixed in src/, Linux-specific tests made portable, and tests of Linux-only features (seccomp/ptrace/Landlock bindings) skipped with the existing reason.

🤖 Generated with Claude Code

futrime and others added 2 commits October 3, 2026 03:13
Mac-specific failures, each fixed where it lives:

- A workdir that is not there is said to be unavailable on a Mac too: the
  target names it by its folded spelling (/var for /private/var), and the
  comparison is now made the way both halves route paths.
- `hmz internal anchor` on a host that cannot intercept syscalls says so
  in a line rather than a traceback.
- Tests: the stand-in docker's containers say they are Linux, as every
  docker daemon's do; CPUs and memory are counted the way the host does;
  a daemon leaves its session with Python's setsid, which a Mac has; a
  turned-away connection may be reset; the tests of the Linux seccomp and
  Landlock bindings skip where those will not import.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A half offered the broker the addresses its hostname resolves to, and
asked the resolver after connecting. On a Mac whose `<name>.local` no
one answers for, that lookup takes 35 s to fail -- past the 30 s the
broker waits for a half's first word -- so every meeting ended with the
broker gone. The lookup is now given 1 s and left out after that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A SIGSTOP is taken when the process next runs, which on a loaded macOS
runner came after the watchdog's first look, so the wedge was read as
idle rather than stopped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@futrime

futrime commented Oct 3, 2026

Copy link
Copy Markdown
Member Author

CI is green on both cells (run https://github.com/humanfia/humanize/actions/runs/37094781529). Closing this draft: it will be merged locally into main. The branch is left on origin.

@futrime futrime closed this Oct 3, 2026
@futrime
futrime deleted the fix/macos-ci branch October 3, 2026 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant