chore: remove code left from acquisition and Discover suggestions, and uncalled queries
Nothing reached any of it: - MusicBrainz search (artists, albums, songs), artist lookups and the query escaping they used. The release-group lookups the duplicate resolver uses stay. - Release-group covers, and artist-level tags for artists not in the library. - Nine named queries with no caller (CountTracksByArtist went with the previous commit), two of them describing request-progress reporting. The MusicBrainz client's retry and not-found tests now drive the release-group lookup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,13 +13,6 @@ SELECT * FROM user_invites
|
||||
WHERE redeemed_at IS NULL AND expires_at > now()
|
||||
ORDER BY created_at DESC;
|
||||
|
||||
-- name: ListInvitesAll :many
|
||||
-- Includes redeemed + expired for full audit visibility. Caller
|
||||
-- supplies a LIMIT to bound the response.
|
||||
SELECT * FROM user_invites
|
||||
ORDER BY created_at DESC
|
||||
LIMIT $1;
|
||||
|
||||
-- name: RedeemInvite :execrows
|
||||
-- Atomic claim: returns rows-affected so the caller can detect
|
||||
-- already-redeemed / expired tokens (rows=0) versus successful claim
|
||||
|
||||
Reference in New Issue
Block a user