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

immerjs / immer / 18508577631
45%
main: 43%

Build:
Build:
LAST BUILD BRANCH: bugfix/rtk-5159-optimistic-updates
DEFAULT BRANCH: main
Ran 14 Oct 2025 08:03PM UTC
Jobs 1
Files 26
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

14 Oct 2025 08:01PM UTC coverage: 45.789%. First build
18508577631

push

github

markerikson
Replace recursive tree finalization with targeted callbacks

Ported Mutative's "finalization callback" approach as a more targeted and performant implementation for finalization compared to the existing recursive tree traversal approach:

- Added cleanup callbacks for each draft that's created
- Added callbacks to handle root drafts, assigned values, and recursing
  inside of plain values
- Updated state creation to return [draft, state] to avoid a lookup
- Rewrote patch generation system to work with callbacks instead of
  during tree traversal

604 of 634 branches covered (95.27%)

Branch coverage included in aggregate %.

289 of 302 new or added lines in 7 files covered. (95.7%)

1484 of 3926 relevant lines covered (37.8%)

1566.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.36
src/core/finalize.ts
12
94.83
src/plugins/patches.ts
Jobs
ID Job ID Ran Files Coverage
1 18508577631.1 14 Oct 2025 08:03PM UTC 26
45.79
GitHub Action Run
Source Files on build 18508577631
  • Tree
  • List 26
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 422ba2b9 on github
  • Next Build on feature/finalization-callbacks (#18515105801)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc