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

moonbitlang / core / 7922
88%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2026 09:13AM UTC
Jobs 1
Files 676
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

05 Nov 2026 09:09AM UTC coverage: 88.449% (+0.001%) from 88.448%
7922

push

github

web-flow
fix(deque): capture buf, head and len together in iterators (#4742)

`iter`, `iter2`, `rev_iter` and `rev_iter2` captured `len` when created
but read the live `buf` and `head` on every step. If the deque was
modified in between, the iterator combined an old length with a new
buffer or head:

- After `pop_front`, it read slots past the live range that were never
  written: phantom values on wasm and wasm-gc, a TypeError on js, and
  an abort on native.
- After `clear()` + `shrink_to_fit()`, the buffer has length 0, so
  `% buf.length()` divided by zero.

Capture `(buf, head, len)` together, as `Array::iter` does through its
view. `Queue::iter` goes through `Deque::iter`, so it is fixed too.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

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

25009 of 28275 relevant lines covered (88.45%)

422277.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7922.1 05 Nov 2026 09:13AM UTC 676
88.45
GitHub Action Run
Source Files on build 7922
  • Tree
  • List 676
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7936d275 on github
  • Prev Build on main (#7920)
  • Next Build on main (#7926)
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