Skip to content

Add richer catalog metadata for sample songs#21

Merged
Jamesllllllllll merged 1 commit intomainfrom
codex/catalog-metadata-backfill
Mar 20, 2026
Merged

Add richer catalog metadata for sample songs#21
Jamesllllllllll merged 1 commit intomainfrom
codex/catalog-metadata-backfill

Conversation

@Jamesllllllllll
Copy link
Copy Markdown
Owner

Summary

Add richer catalog metadata fields to catalog_songs and backfill the 35 demo songs with the extra Ignition data we need for exact matching and future filtering work.

What Changed

  • added new catalog_songs columns for artist_id, author_id, grouped_project_id, richer tuning IDs, and JSON metadata for tags/genres/subgenres
  • updated the catalog upsert path so these new fields persist during sync/import work
  • added a sample metadata source file for the 35 demo songs and a script to regenerate data/sample-catalog.sql
  • added a new migration 0003_catalog_metadata_enrichment.sql
  • added a safer sample-catalog seed script that handles existing rows and works around the FTS update trigger issue during backfill
  • updated the remote-operation helper to use the new seed script

How To Test

  1. Run npm run db:migrate.
  2. Run npm run db:seed:sample:local.
  3. Verify catalog_songs now has populated artist_id, author_id, tuning ID fields, and JSON metadata columns for the sample songs.
  4. Run npm run lint and npm run typecheck.

Notes

  • I already applied the remote D1 migration and metadata backfill using the generated production Wrangler config.
  • Verified remote catalog_songs still has 35 rows and the new metadata columns are populated.

@github-actions
Copy link
Copy Markdown

Preview deployment updated.

App: https://request-bot-pr-21.jameskeezer.workers.dev
Frontend worker: request-bot-pr-21
Backend worker: request-bot-backend-pr-21

@Jamesllllllllll Jamesllllllllll merged commit 1c39ca4 into main Mar 20, 2026
3 checks passed
@Jamesllllllllll Jamesllllllllll deleted the codex/catalog-metadata-backfill branch April 12, 2026 13:59
Jamesllllllllll added a commit that referenced this pull request Apr 12, 2026
…ckfill

Add richer catalog metadata for sample songs
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.

1 participant