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

radio-t / stream-recorder / 34444133985
77%
master: 76%

Build:
Build:
LAST BUILD BRANCH: fix/partial-recording-path
DEFAULT BRANCH: master
Ran 10 Sep 2026 06:14AM UTC
Jobs 1
Files 12
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

10 Sep 2026 06:07AM UTC coverage: 77.048% (+1.3%) from 75.71%
34444133985

Pull #33

github

paskal
Bound post-recording processing with a context

Both post-recording passes rewrite the whole file, and neither could be
interrupted. id3.InjectFrames copies with io.CopyN and io.Copy, and
FixVBRHeader ran ffmpeg through exec.Command with no context, while
wg.Wait blocks process exit until they finish. A stalled disk or a hung
ffmpeg therefore held up SIGINT and SIGTERM indefinitely.

InjectFramesContext and FixVBRHeaderContext take a context: the copy
aborts between reads, and a cancelled remux kills ffmpeg and removes its
temporary output. The exported InjectFrames and FixVBRHeader stay as
wrappers over context.Background.

tryInjectMetadata runs both under a fresh context with a five minute
deadline. It stays independent of the recording context, so finalising
still happens after shutdown was requested, which is when a recording
usually ends, but it can no longer run without limit.
Pull Request #33: Bound post-recording processing with a context

24 of 30 new or added lines in 3 files covered. (80.0%)

2 existing lines in 1 file now uncovered.

1044 of 1355 relevant lines covered (77.05%)

8.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
54.86
0.75% app/main.go

Coverage Regressions

Lines Coverage ∆ File
2
54.86
0.75% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 34444133985.1 10 Sep 2026 06:14AM UTC 12
77.05
GitHub Action Run
Source Files on build 34444133985
  • Tree
  • List 12
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #33
  • PR Base - master (#34085486681)
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