Skip to content

Derive catalog song URLs from source IDs; Add OSS repo templates; Add…#1

Merged
Jamesllllllllll merged 3 commits intomainfrom
add-sentry-and-github-templates
Mar 20, 2026
Merged

Derive catalog song URLs from source IDs; Add OSS repo templates; Add…#1
Jamesllllllllll merged 3 commits intomainfrom
add-sentry-and-github-templates

Conversation

@Jamesllllllllll
Copy link
Copy Markdown
Owner

Summary

Adds production-safe Sentry scaffolding, open-source community templates/docs, and catalog URL/schema cleanup.

What changed

  • scaffolded Sentry for the Cloudflare app and backend workers
  • kept Sentry opt-in via SENTRY_DSN, with production secrets managed in Cloudflare
  • added issue templates, PR template, CODE_OF_CONDUCT.md, and CHANGELOG.md
  • simplified catalog song download URLs to derive from source_song_id
  • removed catalog_songs.source_url with a new D1 migration
  • updated schema-version enforcement to track the latest checked-in migration only
  • moved remote D1 migrations into production CI
  • blocked remote-affecting npm scripts outside CI with clear local-development guidance
  • updated README and deployment docs for local vs production migration workflow

How to test

  • run npm run db:bootstrap:local
  • run npm run lint
  • run npm run typecheck
  • run npm run test
  • run npm run build
  • verify the dashboard playlist still loads and candidate download links resolve correctly
  • verify npm run db:migrate:remote is blocked locally with the helper message

Screenshots / UI notes

No major UI changes. Dashboard playlist behavior was preserved while catalog source URLs became derived instead of stored.

Checklist

  • Local D1 migrations apply cleanly
  • Sample seed matches the updated schema
  • Lint passes
  • Typecheck passes

@github-actions
Copy link
Copy Markdown

Preview deployment updated.

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

@Jamesllllllllll Jamesllllllllll merged commit 3000f47 into main Mar 20, 2026
2 checks passed
@Jamesllllllllll Jamesllllllllll deleted the add-sentry-and-github-templates branch March 20, 2026 21:54
Jamesllllllllll added a commit that referenced this pull request Apr 12, 2026
…lates

Derive catalog song URLs from source IDs; Add OSS repo templates; Add…
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