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

ossuminc / riddl / 23304100341
66%
main: 66%

Build:
Build:
LAST BUILD BRANCH: development
DEFAULT BRANCH: main
Ran 19 Mar 2026 04:03PM UTC
Jobs 1
Files 111
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

19 Mar 2026 03:46PM UTC coverage: 66.142% (+1.0%) from 65.19%
23304100341

push

reid-spencer
Fix BAST deserialization bugs for LetStatement and MatchStatement

Two reader-side fixes that caused byte misalignment during BAST
deserialization, manifesting as failures on large models like
reactive-bbq (4428 nodes):

1. LetStatement: Added missing readU8() to consume the
   NODE_PATH_IDENTIFIER tag before readPathIdentifierNode() when
   reading the optional TypeRef added in 1.16.0. The writer uses
   writePathIdentifier() which includes the tag byte, but the
   reader was not consuming it — causing 1-byte drift.

2. MatchStatement: Changed reader to match the writer's byte
   layout where all case headers (loc + pattern + count) are
   written first, followed by all case items sequentially, then
   default items. The reader was incorrectly interleaving each
   case's header with its items.

Also removes pre-populated keywords from StringTable (90 entries
that were always serialized regardless of usage, ~5-85% size
reduction) and adds regression tests for epics and typed let
statements. Removes the reactive-bbq pending marker — all 187
riddl-models now pass round-trip testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

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

12 existing lines in 9 files now uncovered.

6802 of 10284 relevant lines covered (66.14%)

0.66 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
57.85
2.03% language/shared/src/main/scala/com/ossuminc/riddl/language/bast/BASTReader.scala
1
57.5
1.25% language/shared/src/main/scala/com/ossuminc/riddl/language/bast/ByteBufferReader.scala
1
69.77
-8.17% language/shared/src/main/scala/com/ossuminc/riddl/language/bast/StringTable.scala
1
64.86
-1.35% language/shared/src/main/scala/com/ossuminc/riddl/language/bast/VarIntCodec.scala
1
60.0
-10.0% language/shared/src/main/scala/com/ossuminc/riddl/language/parsing/EntityParser.scala
1
75.76
0.0% language/shared/src/main/scala/com/ossuminc/riddl/language/parsing/ParsingContext.scala
1
90.0
-2.5% language/shared/src/main/scala/com/ossuminc/riddl/language/parsing/ParsingErrors.scala
1
84.38
-1.04% language/shared/src/main/scala/com/ossuminc/riddl/language/parsing/RiddlParserInput.scala
4
60.49
-0.29% language/shared/src/main/scala/com/ossuminc/riddl/language/AST.scala
Jobs
ID Job ID Ran Files Coverage
1 23304100341.1 19 Mar 2026 04:03PM UTC 111
66.14
Source Files on build 23304100341
  • Tree
  • List 111
  • Changed 23
  • Source Changed 3
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a430842e on github
  • Prev Build on development (#23267788767)
  • Next Build on development (#23323500997)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc