Repository navigation
Search Arctic Shift alongside PullPush for Reddit threads - #230
Merged
Merged
Conversation
Arctic Shift and Reddit send seconds-until-reset in X-RateLimit-Reset rather than Retry-After, so the suppression window fell back to a flat 60s regardless of what the server asked for. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PullPush now 429s every request, so the Reddit provider found nothing.
Both archives are now queried in parallel and merged by submission id,
so either one going dark no longer hides the other's results.
Arctic Shift requires a subreddit for keyword search and times out on
large ones, so it lists each subreddit's posts around the air date and
matches titles locally. Comments come from /comments/tree (flattened,
"more" stubs skipped) with PullPush as the fallback. Error bodies
({"data":null,"error":...}) count as failures, so a timeout is cached
briefly instead of as a confirmed miss. Each archive can be disabled
via Reddit:UsePullPush / Reddit:UseArcticShift.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The derived subreddit (r/loveisblind) is empty, so the show found no threads. Its discussion lives in r/LoveIsBlindNetflix and r/LoveIsBlindOnNetflix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The health check only probed PullPush, so the provider showed as down even when Arctic Shift was serving results. It now probes every enabled archive and names the ones that are failing. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A generic episode title like "Episode 1" matched "Season 11 Episode 12 Discussion" as a substring, surfacing later-episode spoilers (and "Pilot" would match "Copilot"). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Prefetch targets the next episode with no release date, which sent Arctic Shift keyword searches that time out on large subreddits. The newest posts are listed and matched locally instead. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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
/comments/tree, flattened, with the other archive as fallback.{"data":null,"error":...}bodies (how Arctic Shift reports timeouts, with HTTP 200) count as failures, so they're cached for 60s rather than as a 24h confirmed miss.X-RateLimit-Reset; Love Is Blind is mapped to its Netflix subreddits; health check is green while either archive answers; episode titles match on whole words ("Episode 1" no longer matches "Episode 12").Reddit:UsePullPush/Reddit:UseArcticShift(env/appsettings only, not in the settings UI).Test plan
dotnet testCore and Api pass; Infrastructure passes except the opt-inLiveIntegrationTestsJellyfin test (no route to host)🤖 Generated with Claude Code