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

moonbitlang / core / 6550
89%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2026 05:38AM UTC
Jobs 1
Files 442
Run time 2min
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 Sep 2026 05:36AM UTC coverage: 89.19%. Remained the same
6550

push

github

bobzhang
docs: fix documentation that the code no longer supports

Found by an automated documentation-drift sweep and each one re-checked
by hand against the code it cites:

- CONTRIBUTING.md: the quickstart wrote `src/main/main.mbt` and ran
  `moon run src/main`. `moon new` has not generated a `src/` tree for a
  while — the runnable package is `cmd/main`, so following the guide
  verbatim fails with "failed to resolve path `src/main`".
- CONTRIBUTING.md: the testing guidance recommended `assert_`, which is
  unbound anywhere in core; the non-snapshot assertions are `assert_eq`
  and `assert_true`.
- coverage/README.mbt.md: "Use `moon test` to run tests with coverage
  tracking" — plain `moon test` instruments nothing. Our own CI passes
  `--enable-coverage`, which is what the reader needs.
- array/SORT_IMPLEMENTATION.md: the sort moved to
  builtin/array_sort_impl.mbt and every helper gained a `fixed_` prefix,
  so `arr.insertion_sort(start, end)`, `get_limit` and `arr.quick_sort(…)`
  name nothing a reader can find. Point at the implementation and use its
  current names and shapes.
- abort/README.mbt.md: "Terminates program execution with an error
  message" holds only on native; the wasm/js branch discards `msg` and
  raises a bare panic.
- .githooks/README.md: the pre-commit hook's `moon check` block is
  commented out, so the hook runs `moon fmt` and a formatting-drift check
  and nothing else. The README promised type checking, and its
  troubleshooting section described output the hook cannot produce.
  Documented what the hook does today, and noted the commented-out step
  rather than quietly dropping it — re-enabling it is a separate call.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SXAZSnNythUMZG5HVV4ozb

16205 of 18169 relevant lines covered (89.19%)

275945.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6550.1 04 Sep 2026 05:38AM UTC 443
89.21
GitHub Action Run
Source Files on build 6550
  • Tree
  • List 442
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 452eb70f on github
  • Prev Build on main (#6546)
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