fix: latest episode query limit too low, leaked test episodes#58
Merged
Conversation
…-tag to hidden list Root cause: 15+ test/hidden episodes share created_at timestamps with real episodes. With limit:10, the relay only returns 10 events sorted by created_at desc — the May 6 episode (created_at: May 8) never gets fetched because all 10 slots are consumed by May 11 test episodes. Changes: - useLatestEpisode: limit 10 → 30 to ensure real episodes are fetched - HIDDEN_EPISODES: add variant d-tag for leaked Test episode - fetchLivestreamStarts timeout: 3s → 5s for multi-relay queries - EpisodeList: stagger card fade-in animation (75ms delay per card)
kurt-croix
force-pushed
the
fix/latest-episode-query-limit
branch
from
May 12, 2026 13:46
0f1c76b to
d0b5402
Compare
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.
Root Cause
useLatestEpisodehadlimit: 10but there are 15+ test/hidden episodes withcreated_at: May 11. The relay returns events sorted bycreated_at desc, so with limit 10, only the first 10 May-11 events are returned. The May 6 episode (created_at: May 8) never gets fetched.Changes
limit: 10→30inuseLatestEpisodeto ensure real episodes are included after hidden ones are filteredepisode-1773089043233-ppj3h0yspto HIDDEN_EPISODES (original entry had wrong suffix)fetchLivestreamStarts(multi-relay queries need more time)