Skip to content

fix: canonicalize subscription urls and deduplicate records#9

Merged
Priveetee merged 1 commit intomainfrom
dev
Apr 12, 2026
Merged

fix: canonicalize subscription urls and deduplicate records#9
Priveetee merged 1 commit intomainfrom
dev

Conversation

@Priveetee
Copy link
Copy Markdown
Owner

Summary

  • canonicalize subscription channel URLs on write and delete paths using a shared URL canonicalizer
  • add startup migration to canonicalize and deduplicate existing subscriptions rows per (user_id, channel_url) while keeping latest subscribed_at
  • cover route behavior and migration behavior with dedicated tests

Validation

  • ran full test suite with ./gradlew test
  • result: success

@Priveetee Priveetee merged commit f8a868e into main Apr 12, 2026
5 checks passed
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