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

freeeve / roaringrange / 29388274796
65%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 04:09AM UTC
Jobs 1
Files 33
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

15 Jul 2026 04:09AM UTC coverage: 64.936%. Remained the same
29388274796

push

github

freeeve
fix(wasm): make the fetch window cancel-safe -- lost wakeups starved all reads

An abandoned read future could permanently starve the v0.36.0 bounded fetch
window, hanging every subsequent search (observed on CloudFront: in-flight
drains to 0 and nothing ever fetches again). Two holes, both requiring a
read future dropped mid-flight:

- a waiter dropped while parked left a dead waker in the FIFO queue; the
  next release woke only that corpse, the wake was lost, and every live
  waiter behind it parked forever despite free slots
- the singleflight table held STRONG Shared handles, so a read abandoned by
  every awaiter stayed alive in the table -- never polled again -- with its
  fetch-window permit trapped inside; each leaked permit shrank the window
  until it reached zero

Fixes: releases wake every parked waiter (a dead waker is then a harmless
no-op; live waiters always re-evaluate), parked entries are keyed by waiter
id so re-polls update in place and Drop removes exactly its own entry, and
the singleflight table now holds WeakShared -- abandoning every handle drops
the inner future, which releases its permit and wakes the queue. New
fetchWindowStats() export ([limit, active, parked]) for live diagnosis.

Regression tests pin both shapes: a dropped parked waiter cannot starve live
waiters, and the queue holds one entry per live waiter.

2452 of 3776 relevant lines covered (64.94%)

89.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29388274796.1 15 Jul 2026 04:09AM UTC 33
64.94
GitHub Action Run
Source Files on build 29388274796
  • Tree
  • List 33
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29388274796
  • c310b919 on github
  • Prev Build on main (#29387707157)
  • Next Build on main (#29389808395)
  • Delete
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