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

radio-t / stream-recorder / 23691012774
75%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2026 06:01PM UTC
Jobs 1
Files 10
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

28 Mar 2026 05:58PM UTC coverage: 76.604% (-0.2%) from 76.847%
23691012774

push

github

web-flow
Refactor: restructure packages and fix naming (#22)

* docs: add architecture refactor plan

* feat: extract chapters package from recorder

Move news client, chapter tracker, and chapter injection code into
a new app/chapters/ package, giving each package a clear single
responsibility. The recorder package now only handles stream
recording and ID3 header writing.

* feat: move schedule logic from recorder package to main

* feat: make filename format explicit with shared RecordingFileName/RecordingFilePrefix

* feat: split runConfig into immutable config and mutable recordingState

* feat: make Recorder.OnReady a constructor option

* feat: fix naming in recorder package

Rename ClientService to StreamSource, unexport SiteAPIUrl to siteAPIURL,
unexport Entry to siteEntry. Regenerate moq mocks.

* feat: replace bool return with named loopAction type

* feat: replace path.Join with filepath.Join for OS file paths

* feat: update README architecture section and archive refactor plan

* fix: address code review findings

- set injectChapters explicitly in newRunConfig instead of relying on
  silent nil fallback in maybeInjectChapters
- guard against empty filePath when injecting chapters on shutdown
  (Record can return "" if context is cancelled before file creation)

197 of 252 new or added lines in 7 files covered. (78.17%)

4 existing lines in 3 files now uncovered.

812 of 1060 relevant lines covered (76.6%)

6.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
30
80.0
app/chapters/inject.go
12
51.94
2.7% app/main.go
10
80.37
-1.71% app/server/server.go
3
75.56
2.06% app/recorder/recorder.go

Coverage Regressions

Lines Coverage ∆ File
2
51.94
2.7% app/main.go
1
75.56
2.06% app/recorder/recorder.go
1
80.37
-1.71% app/server/server.go
Jobs
ID Job ID Ran Files Coverage
1 23691012774.1 28 Mar 2026 06:01PM UTC 10
76.6
GitHub Action Run
Source Files on build 23691012774
  • Tree
  • List 10
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3a49e50f on github
  • Prev Build on master (#23665686405)
  • Next Build on master (#23693077542)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc