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

radio-t / stream-recorder / 34444139760
78%
master: 76%

Build:
Build:
LAST BUILD BRANCH: fix/partial-recording-path
DEFAULT BRANCH: master
Ran 10 Sep 2026 06:14AM UTC
Jobs 1
Files 13
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.925% (+2.2%) from 75.71%
34444139760

Pull #38

github

paskal
Replace the manual-record flag with a session lifecycle

A single atomic.Bool both lost accepted requests and kept unwanted ones.
recordStream cleared it before calling Record, so a failure creating the
output file consumed the request and the error path never restored it. In
the other direction, POST /record was accepted during a recording and,
since the flag survives missing-stream polls, a later broadcast could be
recorded without anyone asking for it.

The new session.Controller holds idle, pending, starting and recording,
with a deadline on a pending request. A request is accepted only from
idle, so the server answers 409 while one is already waiting or running.
A session claims a pending request when it begins and spends it only once
audio has been written, so any failure before that hands the request back
and the next poll retries it, until it expires after 30 minutes.

Recorder.onReady, which drives that transition, now fires on the first
successful audio write rather than after the ID3 header, so the point
where a session becomes a recording is the point where it has produced
something.

The server takes a RecordSession interface in place of the two
atomic.Bool arguments, which changes the exported NewServer signature.
Pull Request #38: Replace the manual-record flag with a session lifecycle

119 of 125 new or added lines in 4 files covered. (95.2%)

1119 of 1436 relevant lines covered (77.92%)

10.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
56.35
2.23% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 34444139760.1 10 Sep 2026 06:14AM UTC 13
77.92
GitHub Action Run
Source Files on build 34444139760
  • Tree
  • List 13
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #38
  • 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