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

Eyevinn / hls-m3u8
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: accept-trailing-scte35-daterange
DEFAULT BRANCH: main
Repo Added 04 Jan 2025 06:47PM UTC
Files 5
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

LAST BUILD ON BRANCH fix/encode-ring-wraparound
branch: fix/encode-ring-wraparound
CHANGE BRANCH
x
Reset
  • fix/encode-ring-wraparound
  • 41-keys-are-written-before-discontinuity
  • 43-weird-interaction-when-ext-x-cue-out-follows-ext-x-daterange
  • 46-ext-x-skip-implementation-seems-incorrect
  • 50-instream-id-for-all-media-types
  • accept-trailing-scte35-daterange
  • allow-cache-obsolete
  • byterange-offset
  • chore/fix-tests
  • chore/remove-goreportcard-badge
  • ci/node24-actions
  • content-steering
  • define-tag
  • docs-060
  • docs-draft-v19
  • docs-update
  • docs/changelog-pr80
  • docs/v0.6.1
  • docs/v0.6.3
  • docs/v0.6.4
  • draft-22
  • expanded-channels-support
  • feat-calc-min-ver
  • feat/support-low-latency
  • feat/write-precision
  • fix-65-get-all-segments
  • fix/duration-attribute-on-cue-out
  • fix/encode-mutates-head
  • gap-support
  • main
  • multi-SCTE35-DateRange
  • multiple-keys
  • no-regex
  • pooled-buffers
  • refactor-and-fix
  • release/v0.6.5
  • server-control
  • session-key
  • sessiondata
  • targetduration-int
  • test-dangling-daterange
  • update-changelog
  • update-go-125
  • update-tests
  • v0.2.0
  • v0.3.0
  • v0.4
  • v0.5.0-changelog
  • v0.5.2-docs
  • variant-params
  • ver0-6-2
  • verify-preload-interstitials

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

Relevant lines Covered
Build:
Build:
2429 RELEVANT LINES 2246 COVERED LINES
1.08 HITS PER LINE
Source Files on fix/encode-ring-wraparound
  • Tree
  • List 5
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30286050163 fix/encode-ring-wraparound 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 ... Pull #91 27 Jul 2026 04:44PM UTC tobbee github
92.47
30285641912 fix/encode-ring-wraparound docs: update CHANGELOG.md for the partial segment fix Pull #91 27 Jul 2026 04:39PM UTC tobbee github
92.39
30283961846 fix/encode-ring-wraparound docs: update CHANGELOG.md for PR #90 and PR #91 Pull #91 27 Jul 2026 04:16PM UTC tobbee github
92.28
30283931663 fix/encode-ring-wraparound docs: add Khoi Van Nguyen to AUTHORS for PR #90 Pull #91 27 Jul 2026 04:16PM UTC tobbee github
92.28
See All Builds (168)
  • Repo on GitHub
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