You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixup(notifications): drop trending_playlist from handle_trending
The trending playlist reward (challenge_id 'tp') is being removed as a
product feature, so handle_trending no longer needs to emit
`trending_playlist` notifications.
Scope: just this PR's trigger. PR #835's NewTrendingPlaylistProcessor +
'tp' catalog seed are still in place — harmless if the upstream feature
stays inactive, can be torn out separately if desired.
Changes:
- handle_trending.sql: drop the 'tp' case from the type switch, WHEN
clause, and data_jsonb branch. Trigger now only handles 'tt' and
'tut' (both tracks), so the entity_label variable goes away too.
- trending_test.go: remove TestTrendingPlaylist_EmitsNotification.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments