GitBulletin

Repository: farcasterxyz/hub-monorepo

**CI Revolutionized: New Headers Strategy Ends Race Condition Woes!**

2026-02-11 18:59:21 UTC

**Innovative Fix Preloads Node.js Headers, Streamlining Native Addon Compilation and Enhancing Workflow Efficiency**

Commit Details:

fix: pre-download node-gyp headers to avoid install race condition (#2672) ## Summary - Adds `npx node-gyp install` before every `yarn install` in CI workflows - This pre-downloads Node.js headers so that multiple native addon compilations during `yarn install` don't race to download the same headers simultaneously ## Files changed - `.github/workflows/ci.yml` - added `npx node-gyp install` before `yarn install` - `.github/workflows/release-packages.yml` - added `npx node-gyp install` before `yarn install` <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the installation process for dependencies in continuous integration workflows and modifying the version of `node-gyp` used in the project. ### Detailed summary - In `.github/workflows/ci.yml`: - Changed the installation command to use `npx [email protected] install` before `yarn install`. - Updated the `node-gyp` version in `packages/core/package.json` from `^9.4.0` to `12.2.0`. - In `.github/workflows/release-packages.yml`: - Similar changes to the installation command as in `ci.yml`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> --------- Co-authored-by: Cursor <[email protected]>

Search Similar