Skip to content

build: improve Makefile linking - #65927

Open
jasnell wants to merge 1 commit into
nodejs:mainfrom
jasnell:jasnell/cleanup-makefile-linking
Open

build: improve Makefile linking#65927
jasnell wants to merge 1 commit into
nodejs:mainfrom
jasnell:jasnell/cleanup-makefile-linking

Conversation

@jasnell

@jasnell jasnell commented Sep 9, 2026

Copy link
Copy Markdown
Member

It appears that our Makefile was performing some redundant build steps in CI, adding time to each CI run. This tries to improve things. It's been forever since I've messed around with Makefile changes so I had the AI do a review pass and tweak a couple things but otherwise this was handrolled and absolutely needs a verification pass.

Running locally, the FFI guard step was taking 16.8 seconds to build locally before this change. After this it was only 0.18 seconds by eliminating the redudancy.

@nodejs/build folks... care to take a look?

It appears that our Makefile was performing some redundant
build steps in CI, adding time to each CI run. This tries
to improve things.

Signed-off-by: James M Snell <jasnell@gmail.com>
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. labels Sep 9, 2026
@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.18%. Comparing base (cb9b870) to head (72bd659).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #65927      +/-   ##
==========================================
- Coverage   92.40%   90.18%   -2.23%     
==========================================
  Files         417      771     +354     
  Lines      188989   265444   +76455     
  Branches    28924    50441   +21517     
==========================================
+ Hits       174642   239400   +64758     
- Misses      14015    16979    +2964     
- Partials      332     9065    +8733     

see 482 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants