Skip to content

Improve build pipeline performance#6082

Merged
lukastaegert merged 3 commits intomasterfrom
ci-caching
Aug 26, 2025
Merged

Improve build pipeline performance#6082
lukastaegert merged 3 commits intomasterfrom
ci-caching

Conversation

@lukastaegert
Copy link
Member

@lukastaegert lukastaegert commented Aug 26, 2025

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

With the recent addition of ARM test runs for windows/linux, the caches for those architectures were not filled. This PR extracts a composite action for restoring the dependency cache, installing dependencies if needed and update the cache if missing.

@vercel
Copy link

vercel bot commented Aug 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rollup Ready Ready Preview Comment Aug 26, 2025 5:18am

@github-actions
Copy link

github-actions bot commented Aug 26, 2025

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#ci-caching

Notice: Ensure you have installed the latest nightly Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust.

or load it into the REPL:
https://rollup-r8u978bnb-rollup-js.vercel.app/repl/?pr=6082

@github-actions
Copy link

github-actions bot commented Aug 26, 2025

Performance report

  • BUILD: 7028ms, 816 MB
    • initialize: 0ms, 24.8 MB
    • generate module graph: 2618ms, 631 MB
      • generate ast: 1410ms, 622 MB
    • sort and bind modules: 403ms, 687 MB
    • mark included statements: 4003ms, 816 MB
      • treeshaking pass 1: 2345ms (-60ms, -2.5%), 815 MB
      • treeshaking pass 2: 465ms, 834 MB (+2%)
      • treeshaking pass 3: 400ms, 818 MB
      • treeshaking pass 4: 388ms, 839 MB (+2%)
      • treeshaking pass 5: 386ms, 816 MB
  • GENERATE: 892ms (+93ms, +11.6%), 926 MB (-3%)
    • initialize render: 0ms, 907 MB (+3%)
    • generate chunks: 47ms, 897 MB
      • optimize chunks: 0ms, 925 MB (+3%)
    • render chunks: 642ms (-87ms, -12.0%), 900 MB
    • transform chunks: 18ms, 926 MB (-3%)
    • generate bundle: 0ms, 926 MB (-3%)

@codecov
Copy link

codecov bot commented Aug 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.79%. Comparing base (8b6b06b) to head (fc21a43).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6082   +/-   ##
=======================================
  Coverage   98.79%   98.79%           
=======================================
  Files         271      271           
  Lines       10620    10620           
  Branches     2838     2838           
=======================================
  Hits        10492    10492           
  Misses         88       88           
  Partials       40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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.

@lukastaegert lukastaegert merged commit 59c16b9 into master Aug 26, 2025
27 of 28 checks passed
@lukastaegert lukastaegert deleted the ci-caching branch August 26, 2025 05:17
@github-actions
Copy link

This PR has been released as part of rollup@4.49.0. You can test it via npm install rollup.

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