Skip to content

fix: restore livestream starts fallback for episodes missing pubdate tags#57

Merged
kurt-croix merged 1 commit into
mainfrom
fix/perf-livestream-fallback
May 12, 2026
Merged

fix: restore livestream starts fallback for episodes missing pubdate tags#57
kurt-croix merged 1 commit into
mainfrom
fix/perf-livestream-fallback

Conversation

@kurt-croix

Copy link
Copy Markdown
Owner

PR #56 removed livestream starts queries entirely, but only 2 of 8 visible episodes have pubdate tags. The rest (May 6, 4/29, 4/8, 3/19, 4/15, 4/22) fall back to created_at which is wrong.

This restores livestream starts as a conditional fallback — only fetched (3s timeout, non-blocking) when episodes are missing pubdate tags. Performance is still improved since the query skips entirely when all episodes have pubdate tags.

Only 2 of 8 visible episodes have pubdate tags. The May 6 and 4/29
episodes have none, so they fall back to created_at which is wrong.

Now conditionally fetches livestream starts (3s timeout, non-blocking)
only when any episode is missing a pubdate tag. Once all episodes get
pubdate tags via sync pipeline, the extra query is skipped entirely.
@kurt-croix
kurt-croix merged commit 4e4a1fb into main May 12, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants