Skip to content

Spork Android android-20260728193653

Choose a tag to compare

@github-actions github-actions released this 28 Jul 19:36
· 11 commits to main since this release
8a6cf4f
fix(games): keep daily puzzles out of the evergreen game lists (#34)

The scheduled daily ingest writes one PUBLISHED `daily-<game>-<date>` puzzle per
game every day, and each game's home list rendered ALL published puzzles — so the
evergreen lists (/steps, /quizzle, /acrostic, /wordle, /spellingbee, /connections,
/quizzes) grew by ~1 row/day forever into an unbounded wall of links, even though
daily puzzles already have their own /daily/:game browse surface.

- Add a shared pure `isDailyPuzzle(id)` helper (matches the `daily-` id prefix).
- Filter daily-generated puzzles out of every evergreen list composer/API, so the
  home lists stay a curated set. Seed puzzles use auto-generated ids (never
  `daily-`), so only the accumulating dailies are removed — the lists don't empty.
- Cover it: a unit test per game asserting dailies are excluded while evergreen
  puzzles remain, plus the isDailyPuzzle helper's own tests. Verified live: all
  game lists still render + play their evergreen puzzles.