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

mnasyrov / nrgy / 26574473012
99%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 12:25PM UTC
Jobs 1
Files 40
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

28 May 2026 12:24PM UTC coverage: 99.339% (-0.002%) from 99.341%
26574473012

push

github

mnasyrov
fix: prevent lost scheduler tasks under wrapped ring buffer growth

Two bugs caused effects to be silently dropped under load:

- `reserveFastRingBuffer` performed an in-place reflow that overwrote
  its own source slots when the buffer was wrapped (head > 0), losing
  items on growth. Replaced with a single-pass relocation of the
  wrapped tail into the freshly grown space; head is preserved so
  source and destination ranges are guaranteed non-overlapping.

- `createMicrotaskScheduler.resume()` set `isPaused = true` instead of
  `isPlanned = true` when re-arming execution after a planned microtask
  drained while paused. The follow-up execute() then exited immediately
  on the still-true isPaused flag, leaving queued tasks unprocessed.

Both bugs surface in real apps as missed effect notifications when the
shared async scheduler has prior activity and a burst of new effects.

243 of 247 branches covered (98.38%)

Branch coverage included in aggregate %.

6 of 6 new or added lines in 2 files covered. (100.0%)

659 of 661 relevant lines covered (99.7%)

6065.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26574473012.1 28 May 2026 12:25PM UTC 40
99.34
GitHub Action Run
Source Files on build 26574473012
  • Tree
  • List 40
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 938d6012 on github
  • Prev Build on main (#24158015892)
  • Next Build on main (#26574555678)
  • 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

© 2026 Coveralls, Inc