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

moonbitlang / core / 7856
88%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 09:07AM 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

04 Nov 2026 09:05AM UTC coverage: 88.431%. Remained the same
7856

push

github

bobzhang
fix(builtin): keep Map::map memory-safe without snapshotting

A callback that modifies the map only needs to leave the result
memory-safe, not to see a snapshot, so drop the entry/slot snapshot
(+22% on native) and walk the live list again, keeping the result
well-formed instead: link each entry to the one written before it,
derive psl from its slot, skip a slot that is out of range or already
taken, write at most `size` entries, and count what was written.

Map::filter goes back to main's version: it builds its result by
ordinary insertion, so a mutating predicate cannot break it.

The tests now check the result's structure in a bounded whitebox walk,
and keep checking it through set, remove and retain.

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

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

25134 of 28422 relevant lines covered (88.43%)

410826.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7856.1 04 Nov 2026 09:07AM UTC 676
88.43
GitHub Action Run
Source Files on build 7856
  • Tree
  • List 676
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7c269b0b on github
  • Prev Build on main (#7855)
  • Next Build on main (#7858)
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