The seed file (seed/seed.sql) only contains data up to show 705. On a fresh local setup, after running pnpm dev, only those shows are available until the admin import endpoint is manually triggered to sync the rest from the markdown files.
This creates a poor onboarding experience for new contributors — the site works but is missing ~280 episodes. It also makes it harder to investigate bugs affecting newer shows, for example #2170 (host names missing for shows featuring w3cj) was difficult to reproduce locally because those shows (742+) aren't in the seed data.
Two possible fixes:
- Update
seed.sql periodically to include newer shows — low-tech but requires manual upkeep
- Auto-import from markdown on first run —
preheat.js already has all the logic via import_or_update_all_changed_shows(), it could call that instead of (or after) seeding when the table is empty. Since all shows exist as .md files in the repo, no DB credentials or network access needed
Option 2 seems more maintainable long-term since the markdown files are always up to date in the repo.
The seed file (
seed/seed.sql) only contains data up to show 705. On a fresh local setup, after runningpnpm dev, only those shows are available until the admin import endpoint is manually triggered to sync the rest from the markdown files.This creates a poor onboarding experience for new contributors — the site works but is missing ~280 episodes. It also makes it harder to investigate bugs affecting newer shows, for example #2170 (host names missing for shows featuring w3cj) was difficult to reproduce locally because those shows (742+) aren't in the seed data.
Two possible fixes:
seed.sqlperiodically to include newer shows — low-tech but requires manual upkeeppreheat.jsalready has all the logic viaimport_or_update_all_changed_shows(), it could call that instead of (or after) seeding when the table is empty. Since all shows exist as.mdfiles in the repo, no DB credentials or network access neededOption 2 seems more maintainable long-term since the markdown files are always up to date in the repo.