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

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

Build:
Build:
LAST BUILD BRANCH: fix/partial-recording-path
DEFAULT BRANCH: master
Ran 02 Sep 2026 11:05PM 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

02 Sep 2026 10:55PM UTC coverage: 76.722% (+1.4%) from 75.36%
33693251518

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.

1025 of 1336 relevant lines covered (76.72%)

8.33 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 33693251518.1 02 Sep 2026 11:05PM UTC 12
76.72
GitHub Action Run
Source Files on build 33693251518
  • 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 (#33285522547)
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