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

floatdrop / moq-go / 31670288661
89%

Build:
DEFAULT BRANCH: draft-19
Ran 13 Aug 2026 05:27AM UTC
Jobs 1
Files 100
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

13 Aug 2026 05:25AM UTC coverage: 86.982% (+1.1%) from 85.886%
31670288661

push

github

web-flow
test(msf): cover the catalog delta overlay, ops and malformed input (#69)

msf was the second-largest uncovered mass in the tree at 81.3%, over half of
it in delta.go — the catalog delta logic multi-participant calls depend on,
the same area fea80fc broke. Now 92.1%.

overlayTrack is three chains of `if src.X != zero { dst.X = src.X }` across
43 fields, where a crossed assignment (dst.Mimetype = src.Codec) is
invisible to the compiler, to review, and to coverage — roughly half those
branches already ran, and a branch executing says nothing about it assigning
the right field. The test populates every field with a DISTINCT value and
checks each one, since two crossed string fields would still compare equal
if both were "x". It is built by reflection so that adding a Track field and
forgetting to overlay it fails the test naming the field, and a fixture
guard rejects any zero field, which the overlay would skip and so pass
vacuously.

Verified by mutation: crossing two fields fails with "Mimetype = s16, want
s17"; deleting an assignment fails with "Lang = , want s30". Further tests
pin that an empty patch changes nothing and that the result does not alias
the source's slices, maps or pointers.

The delta-op tests cover the §5.1.6 / §5.3 guards through the public Apply,
including namespace-scoped remove and that a failed Apply leaves the
caller's catalog untouched. The malformed-input tests cover the JSON
rejection paths, each asserting the error names its type, since in a relay
log that is the only clue which member of a nested catalog was bad.

One assumption was wrong and is now pinned as a test: an unknown key on a
Track is not an error — §5 catalogs are extensible, so it lands in Extras.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

8893 of 10224 relevant lines covered (86.98%)

1.99 hits per line

Coverage Regressions

Lines Coverage ∆ File
5
91.69
-1.6% pkg/relay/relay.go
3
86.15
-0.61% pkg/relay/handler_subscribe.go
2
74.07
-3.7% pkg/moqt/session/control.go
2
60.53
-5.26% pkg/relay/relay_namespace_watch.go
1
92.91
-0.71% pkg/moqt/session/datastream_out.go
Jobs
ID Job ID Ran Files Coverage
1 31670288661.1 13 Aug 2026 05:27AM UTC 100
86.98
GitHub Action Run
Source Files on build 31670288661
  • Tree
  • List 100
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31670288661
  • 55d29b6f on github
  • Prev Build on draft-19 (#31668923203)
  • Next Build on draft-19 (#31671683862)
  • Delete
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