Skip to content

👷 Bundle fast-check using rolldown#6638

Merged
dubzzz merged 15 commits into
mainfrom
fast-check-bundling
Feb 24, 2026
Merged

👷 Bundle fast-check using rolldown#6638
dubzzz merged 15 commits into
mainfrom
fast-check-bundling

Conversation

@dubzzz

@dubzzz dubzzz commented Feb 23, 2026

Copy link
Copy Markdown
Owner

Description

Since day 1, we have used Typescript (tsc) itself to bundle fast-check. While working well it comes with several gotchas:

  • Tend to be slow
  • Not optimal as it does not optimize for delivery

This PR wants to leverage dedicated tooling to build our bundle. It should make the bundle lighter and more efficient at the same time (lighter meaning less code to download, load, interpret).

Checklist

Don't delete this checklist and make sure you do the following before opening the PR

  • I have a full understanding of every line in this PR — whether the code was hand-written, AI-generated, copied from external sources or produced by any other tool
  • I flagged the impact of my change (minor / patch / major) either by running pnpm run bump or by following the instructions from the changeset bot
  • I kept this PR focused on a single concern and did not bundle unrelated changes
  • I followed the gitmoji specification for the name of the PR, including the package scope (e.g. 🐛(vitest) Something...) when the change targets a package other than fast-check
  • I added relevant tests and they would have failed without my PR (when applicable)

@changeset-bot

changeset-bot Bot commented Feb 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3d30f84

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
fast-check Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@socket-security

socket-security Bot commented Feb 23, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​rollup/​plugin-replace@​4.0.010010010085100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Feb 23, 2026

Copy link
Copy Markdown
@fast-check/ava

npm i https://pkg.pr.new/@fast-check/ava@6638

fast-check

npm i https://pkg.pr.new/fast-check@6638

@fast-check/jest

npm i https://pkg.pr.new/@fast-check/jest@6638

@fast-check/packaged

npm i https://pkg.pr.new/@fast-check/packaged@6638

@fast-check/poisoning

npm i https://pkg.pr.new/@fast-check/poisoning@6638

@fast-check/vitest

npm i https://pkg.pr.new/@fast-check/vitest@6638

@fast-check/worker

npm i https://pkg.pr.new/@fast-check/worker@6638

commit: 3d30f84

@codecov

codecov Bot commented Feb 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.33333% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.72%. Comparing base (4213ed0) to head (3d30f84).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../check/runner/configuration/QualifiedParameters.ts 90.32% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6638      +/-   ##
==========================================
- Coverage   94.72%   94.72%   -0.01%     
==========================================
  Files         209      209              
  Lines        5670     5666       -4     
  Branches     1502     1500       -2     
==========================================
- Hits         5371     5367       -4     
  Misses        286      286              
  Partials       13       13              
Flag Coverage Δ
tests 94.72% <93.33%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@dubzzz
dubzzz merged commit f63fd4b into main Feb 24, 2026
48 checks passed
@dubzzz
dubzzz deleted the fast-check-bundling branch February 24, 2026 13:04
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