Skip to content

fix: latest episode query limit too low, leaked test episodes#58

Merged
kurt-croix merged 1 commit into
mainfrom
fix/latest-episode-query-limit
May 12, 2026
Merged

fix: latest episode query limit too low, leaked test episodes#58
kurt-croix merged 1 commit into
mainfrom
fix/latest-episode-query-limit

Conversation

@kurt-croix

Copy link
Copy Markdown
Owner

Root Cause

useLatestEpisode had limit: 10 but there are 15+ test/hidden episodes with created_at: May 11. The relay returns events sorted by created_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

  1. Increase query limit: limit: 1030 in useLatestEpisode to ensure real episodes are included after hidden ones are filtered
  2. Hide leaked test episode: Add variant d-tag episode-1773089043233-ppj3h0ysp to HIDDEN_EPISODES (original entry had wrong suffix)
  3. Increase livestream timeout: 3s → 5s for fetchLivestreamStarts (multi-relay queries need more time)
  4. Staggered card animation: Episodes page cards fade in with 75ms stagger delay for progressive appearance

…-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
kurt-croix force-pushed the fix/latest-episode-query-limit branch from 0f1c76b to d0b5402 Compare May 12, 2026 13:46
@kurt-croix
kurt-croix merged commit e4d3474 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