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

Eyevinn / hls-m3u8 / 30286050163
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: accept-trailing-scte35-daterange
DEFAULT BRANCH: main
Ran 27 Jul 2026 04:44PM UTC
Jobs 1
Files 5
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

27 Jul 2026 04:43PM UTC coverage: 92.466% (+0.2%) from 92.301%
30286050163

Pull #91

github

tobbee
fix: remove expired partial segments when a full segment is appended

removeExpiredPartials was only called from AppendPartialSegment, so the
retention rule was only applied when a new partial segment arrived. A
producer that stops adding partial segments, for example at the end of a
stream or when switching away from low latency, kept them forever, and
IsSegmentReady kept reporting them as available long after they had left
the playlist. Encode filtered them out of the output, so this was stale
in-memory state rather than a bad playlist.

Call it from AppendSegment as well, since a new full segment also moves
the end of the playlist forward. Remove is not affected, as it moves the
head and leaves the end of the playlist where it was, and Slide appends.

Also state the retention rule once, as a named constant referring to the
three target durations of the specification, and filter in place instead
of rebuilding the slice on every call. The previous comment claimed to
keep all partial segments when there are fewer than 3 full segments, but
the value tested is a sequence number, not a count. It only guards
against underflow, which the new code says explicitly.
Pull Request #91: fix: three Encode() bugs — ring buffer wraparound panic, wrong EXT-X-MEDIA-SEQUENCE, consumed partial segments

55 of 56 new or added lines in 1 file covered. (98.21%)

2246 of 2429 relevant lines covered (92.47%)

1.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.43
0.34% m3u8/writer.go
Jobs
ID Job ID Ran Files Coverage
1 30286050163.1 27 Jul 2026 04:44PM UTC 5
92.47
GitHub Action Run
Source Files on build 30286050163
  • Tree
  • List 5
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #91
  • PR Base - main (#30283409342)
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