-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Description
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.sqlperiodically to include newer shows — low-tech but requires manual upkeep - Auto-import from markdown on first run —
preheat.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 needed
Option 2 seems more maintainable long-term since the markdown files are always up to date in the repo.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels