Skip to content

chore: pin macos CI runner to macos-15#3553

Merged
tabcat merged 2 commits into
libp2p:mainfrom
tabcat:chore/pin-macos-runner-15
Jul 7, 2026
Merged

chore: pin macos CI runner to macos-15#3553
tabcat merged 2 commits into
libp2p:mainfrom
tabcat:chore/pin-macos-runner-15

Conversation

@tabcat

@tabcat tabcat commented Jul 7, 2026

Copy link
Copy Markdown
Member

Description

macos-latest migrated from macos-15 to macos-26 in June 2026 (actions/runner-images#14167). On macos-26 the go-libp2p postinstall that downloads the p2pd binary stalls (the fetch returns 200 OK, then the response body read never completes and times out after 60s, retrying 11 times), so test-node (macos-latest) fails at the install step before any tests run. It only surfaces on a node_modules cache miss, which re-triggers the p2pd download, so it hits any deps-changing PR.

Pin the macOS runner to macos-15 until the download works on macos-26.

Notes & open questions

Stopgap. The underlying issue is go-libp2p's fetch-based p2pd download not completing on macos-26 (libp2p/npm-go-libp2p); unpin once that is fixed.

Change checklist

  • I have performed a self-review of my own code

tabcat added 2 commits July 6, 2026 17:32
macos-latest migrated to macos-26 (actions/runner-images#14167), which stalls the go-libp2p p2pd binary download during install. Pin to macos-15 until that is resolved.
@tabcat
tabcat marked this pull request as ready for review July 7, 2026 08:04
@tabcat
tabcat requested a review from a team as a code owner July 7, 2026 08:04
@tabcat
tabcat merged commit 5bf91bf into libp2p:main Jul 7, 2026
33 of 34 checks passed
@achingbrain

achingbrain commented Jul 7, 2026

Copy link
Copy Markdown
Member

Longer term you'll probably want to remove the postinstall script as it's going to be disabled by default in npm 12.

Instead you can download the binary on first run - see ipfs/npm-kubo#83 for an example.

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.

2 participants