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

moonbitlang / core / 7666
88%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2026 06:45AM UTC
Jobs 1
Files 660
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

29 Oct 2026 06:41AM UTC coverage: 87.959% (-0.002%) from 87.961%
7666

push

github

web-flow
feat(compress): support whole-buffer preset dictionaries (#4490)

* feat(compress): support whole-buffer preset dictionaries

* refactor(compress): unify dictionary-aware whole-buffer decoding

Use explicit input modes and consumed counts for allocating and caller-buffer decoding. Reuse bounded dictionary history across independent decodes and share the raw decoder with zlib while preserving framing, limits, and cancellation.

* refactor(compress): remove redundant caller-buffer wrappers

Use Compressor and Decompressor methods directly instead of duplicating their caller-buffer operations as free functions. Preserve existing options and behavior while reducing the public API surface.

* refactor(compress): signal decoder EOF through step

Replace gzip and zlib Decoder::finish with an optional end_of_input argument so input completion is distinct from decoder completion. Preserve latched EOF, backpressure, truncation, and terminal-state behavior while consolidating callers.

* refactor(compress): separate exact and prefix decode results

Return Bytes from exact decoding and Decompressed from prefix decoding instead of forcing both through a mode-selected result type. Retain dictionary, limits, cancellation, and two-pass support through a shared internal implementation.

* refactor(compress): separate decoder end checks from stepping

Keep ordinary decoding free of EOF flags and expose a no-buffer check_end operation. Preserve output backpressure and latched errors, with explicit tests for deferred truncation and partially accepted input.

* test(compress): trim redundant decoding coverage

124 of 126 new or added lines in 9 files covered. (98.41%)

1 existing line in 1 file now uncovered.

24195 of 27507 relevant lines covered (87.96%)

408822.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.55
-1.27% compress/zlib/zlib.mbt

Coverage Regressions

Lines Coverage ∆ File
1
96.63
0.02% archive/zip/reader.mbt
Jobs
ID Job ID Ran Files Coverage
1 7666.1 29 Oct 2026 06:45AM UTC 660
87.96
GitHub Action Run
Source Files on build 7666
  • Tree
  • List 660
  • Changed 11
  • Source Changed 11
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c4075d01 on github
  • Prev Build on main (#7661)
  • Next Build on main (#7668)
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