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

umputun / feed-master / 41242272240
75%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2026 09:11PM UTC
Jobs 1
Files 16
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

31 Oct 2026 09:09PM UTC coverage: 75.338% (+0.2%) from 75.174%
41242272240

push

github

web-flow
Date finished YouTube live streams by download time (#184)

A YouTube live stream gets its `published` time when it is scheduled, not when it airs. `update()` moves an entry's date to the download time only when `published` is under 24h old, so a stream scheduled more than a day ahead kept the scheduling time and showed up in feeds back-dated, below newer episodes. Real case: Echo's "Один с Дмитрием Быковым" was scheduled 27 Oct 19:11 UTC, failed with "This live event will begin in 23 hours" until it ended, downloaded 28 Oct 21:21 UTC, and entered the feed dated 27 Oct.

The worker now records when it first reaches the download step for an entry (`first_seen` bucket in the youtube store, written before every download attempt, never overwritten, dropped by `SetProcessed`). `update()` resets the date when that first sighting was within 24h of `published`. A stream is first seen right after it is scheduled, so it gets the download time once it finally downloads. A new channel's backlog is first seen days after publishing and keeps its dates, as before.

`updated` from the YouTube feed is not used: it moves on any metadata edit, so recently edited old videos would jump to the top when a channel is added.

Behavior change: a regular video held back by a download outage longer than 24h also gets the recovery time as its date, the same way outages under 24h already did. Entries with no `first_seen` record, including everything pending at deploy, behave exactly as before.

48 of 66 new or added lines in 2 files covered. (72.73%)

1558 of 2068 relevant lines covered (75.34%)

20.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
70.28
-0.61% app/youtube/store/store.go
2
80.87
1.62% app/youtube/service.go
Jobs
ID Job ID Ran Files Coverage
1 41242272240.1 31 Oct 2026 09:11PM UTC 16
75.34
GitHub Action Run
Source Files on build 41242272240
  • Tree
  • List 16
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0b1c1bcd on github
  • Prev Build on master (#40636505964)
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