Skip to content

Keep a YouTube outage from failing the build - #40

Merged
github-actions[bot] merged 2 commits into
sourcejump:u/zasbufrom
zasbu:fix/youtube-feed-build
Nov 11, 2026
Merged

github-actions[bot] merged 2 commits into
sourcejump:u/zasbufrom
zasbu:fix/youtube-feed-build

Conversation

@zasbu

@zasbu zasbu commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

The preview build has failed since 9 Nov with "YouTube feed returned 404" while prerendering the homepage, so merged changes (including the new site header in #39) never deployed.

  • Brings over "Handle unavailable YouTube feeds" (falls back to the channel page when the feed is down).
  • The upload lookup now returns no upload instead of throwing; the homepage already shows a channel link in that case.

Tested: reproduced the failure locally with a production build while every YouTube request answered 404 (exit 1), then the same build passes with this change. Unit tests for the lookup, types, lint and format pass.

The homepage is prerendered, and an error thrown inside the cached upload lookup fails the prerender even when the caller catches it. The preview build has failed this way since 9 Nov, whenever YouTube answers 404 to the build runner. The lookup now returns no upload instead, and the page shows its existing channel fallback.
@github-actions
github-actions Bot merged commit 4990377 into sourcejump:u/zasbu Nov 11, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

Merged into u/zasbu. It'll be live at https://zasbu-sj.okwhiteli.st in a few minutes.

@zasbu
zasbu deleted the fix/youtube-feed-build branch November 11, 2026 05:15
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.

1 participant