feat(migrations): repoint funnel-duplicate roster artists — pass 2 (chat#1859)#44
Conversation
…hat#1859) Re-run the idempotent repoint from 20260707190000 now that marketing#46 has stopped the forward mint. Repoints remaining Category A duplicates (account holds the duplicate but not yet the canonical; 2 rows on prod 2026-07-08). Category B (account already holds the canonical) is skipped here by design and handled by the sibling cleanup-delete migration. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reached
Next review available in: 50 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Updates to Preview Branch (feat/repoint-funnel-dupes-pass2) ↗︎
Tasks are run on every commit but only new migration files are pushed.
View logs for this Workflow Run ↗︎. |
What
Pass 2 of the funnel-duplicate roster repoint — the first of the two backfill follow-ups owed on chat#1859 now that marketing#46 is deployed and the forward mint has stopped.
Adds
20260708170000_repoint_funnel_duplicate_roster_artists_pass2.sql, which re-runs the exact, verified logic of20260707190000(database#43) under a new timestamp. It is idempotent by design, so a re-run only touches what still qualifies: Category A duplicates — an account holding the song-less duplicate but not yet the canonical.Why a second pass
20260707190000ran on prod 2026-07-08. Duplicates kept accruing until marketing#46 deployed (some pre-existing leads flip into scope the moment their account claims a catalog — condition 5). Post-merge verification of #43 caught this (evidence). With the mint now stopped, this pass converges.Scope (measured 2026-07-08 on prod, read-only)
Same conservative 5-condition signature as #43 (on a roster · zero
song_artists· Spotify social · exactly one song-owning same-name twin · every referencing account owns a catalog). Same post-conditionRAISE EXCEPTIONguard.Verification
20260707190000(14 rows repointed live, repro flipped 0/$0 → 67 / 557.5M). Re-running is safe: repointed dupes fail condition 1; the social copy isNOT EXISTS-guarded.Merge order
This PR first, then cleanup-delete (#45). The cleanup migration's timestamp is later so they apply repoint → cleanup; merging in that order keeps the migration history in sequence.
Links
20260707190000)🤖 Generated with Claude Code