fix: tolerate YouTube API failures in channel validation + bump v2.5.13#425
Merged
fix: tolerate YouTube API failures in channel validation + bump v2.5.13#425
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…channels The /api/youtube/live validation endpoint may return 429 or non-JSON responses (Vercel WAF, YouTube rate limiting). Previously this caused res.json() to parse HTML → either throw (caught, channel added) or return channelExists:false (blocked add with red border). Now only blocks when the API explicitly returns 200 OK with channelExists:false — any non-OK status or error allows the add. Also bumps version to 2.5.13.
1e93a6b to
48131dc
Compare
koala73
added a commit
that referenced
this pull request
Feb 26, 2026
Changes since v2.5.13: - feat: add ARM64 Linux build target and download detection (#427) - fix(live-channels): tolerate YouTube API failures when adding custom channels (#425) - fix(linux): append host GStreamer plugins to AppImage search path (#424) - fix(linux): enable keyring persistence via Secret Service + keyutils (#419)
Merged
koala73
added a commit
that referenced
this pull request
Feb 26, 2026
Changes since v2.5.13: - feat: add ARM64 Linux build target and download detection (#427) - fix(live-channels): tolerate YouTube API failures when adding custom channels (#425) - fix(linux): append host GStreamer plugins to AppImage search path (#424) - fix(linux): enable keyring persistence via Secret Service + keyutils (#419)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
200 OKwithchannelExists: false. Non-OK responses (429 Vercel WAF, 5xx) now allow the add instead of blocking with red borderTest plan
@FRANCE24— should succeed even if YouTube API returns non-200@thishandledoesnotexist99999— should still show "not found" when API returns 200 +channelExists: false