chore(api): bump etl to include subscription upsert fix#901
Merged
Conversation
Picks up go-openaudio #335 (5d2e19a): the explicit Subscribe/Unsubscribe handler now upserts the single is_current row via the arbiter index instead of demote-then-insert, matching the Follow auto-subscribe path. This closes the two-writer gap that let duplicate is_current subscription rows accumulate. Also rolls in #333 (release_date defaults to created_at) which sits between the current vendored commit and #335. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the vendored
go-openaudio/pkg/etlpseudo-version to5d2e19ato deploy go-openaudio #335.social_subscription.go) to a single-statementON CONFLICT (subscriber_id, user_id) WHERE is_current = trueupsert, matching the Follow auto-subscribe path. This closes the two-writer gap that allowed duplicateis_currentsubscription rows to accumulate (the data that broke the0030arbiter-index migration earlier today).created_at), which sits between the currently vendored commit (Disable remix notif #334) and Disable remix_contest_ending_soon #335.Merging this builds the
audius/apiimage and rollscore-indexer, putting the subscription upsert live.Test plan
go mod tidy+go build ./...cleanON CONFLICTupsert is present in the vendoredsocial_subscription.gocore-indexerroll, confirm clean migration boot (already at version 30) and subscribe/unsubscribe indexing without errors🤖 Generated with Claude Code