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

moonbitlang / core / 8379
87%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 04:11AM UTC
Jobs 1
Files 696
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

18 Nov 2026 04:09AM UTC coverage: 88.282%. Remained the same
8379

push

github

bobzhang
fix(json): keep nested-object frames small enough for Windows debug

f3232f9ee moved the four punctuation `lexscan`s of an object into
`parse_object`. In a native debug build moonc gives each DFA temporary
its own stack slot, so `parse_object`'s frame grew from 464 to 1184
bytes on x86_64-pc-windows-msvc. That frame is live for every level of
nesting, and 1024 nested objects (the default depth limit, exercised by
the json tests) now need about 1.4 MB: the Windows CI job overflows its
1 MiB main-thread stack (0xc00000fd).

`parse_object` now lexes only the `,` or `}` after each value inline.
`lex_property_name` lexes the opening quote, the name and the `:`.
The empty-object check is done by hand: `lex_empty_array_end` becomes
`lex_empty_container_end(close)`, shared by both containers. An object
level is 672 bytes (496 + 176 for `parse_container`), against 624
before f3232f9ee. `parse_array`'s loop is unchanged. Errors are
unchanged, since `unexpected_token` skips the whitespace itself.

With the blackbox tests relinked on macOS for a smaller main stack,
main crashes at 768 KiB and this passes at 640 KiB. Release benchmarks:
arrays neutral on all backends, objects within noise on native, -6% on
js and +3% on wasm-gc.

Codex: "No blocking issues found. The refactor preserves malformed-object
errors and positions, duplicate-key detection order, and trailing-comma
rejection."

Signed-off-by: Codex CLI <codex@openai.com>

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

25676 of 29084 relevant lines covered (88.28%)

776567.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8379.1 18 Nov 2026 04:11AM UTC 696
88.28
GitHub Action Run
Source Files on build 8379
  • Tree
  • List 696
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ac84ee96 on github
  • Prev Build on main (#8359)
  • Next Build on main (#8384)
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