• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FullHuman / purgecss / 41928794848
95%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 10:52PM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Nov 2026 10:50PM UTC coverage: 94.314% (+0.1%) from 94.218%
41928794848

push

github

web-flow
[repo-assist] fix(purgecss): keep variables, keyframes and font faces used in another CSS file (#1262) (#1517)

* fix(purgecss): keep variables, keyframes and font faces used in another css file (#1262)

Unused CSS variables, keyframes and font faces were removed right after
each CSS file was walked through, before the usages from the following
files were collected. A variable defined in a file and only used in a
later one was removed, while the reverse order kept it.

Walk through every CSS file first, then remove the unused variables,
keyframes and font faces once. The rejected selectors and rejected CSS
of each file are still captured right after that file is walked through.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(purgecss): only keep the css files in memory when removing across files

Every parsed css file was kept in memory until all of them were walked
through, even when none of `fontFace`, `keyframes` and `variables` is
enabled (the default) and nothing has to be removed across files. With
40 files of 1.6 MB, the peak heap went from about 260 MB to 400-540 MB.
A file is now turned back into css right after it is walked through,
unless one of these options is enabled.

Also test the variables used by a variable used in another file, the
keyframes used through a variable in another file, the output of the
file using the definitions and the source map of each file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GfM7HshEdzpXc1d9HYZgTV

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

546 of 608 branches covered (89.8%)

Branch coverage included in aggregate %.

24 of 24 new or added lines in 1 file covered. (100.0%)

582 of 588 relevant lines covered (98.98%)

10424.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 41928794848.1 04 Nov 2026 10:52PM UTC 17
92.13
GitHub Action Run
Source Files on build 41928794848
  • Tree
  • List 8
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41928794848
  • 86bfcb78 on github
  • Prev Build on main (#41928741870)
  • Next Build on main (#42056214010)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc