Skip to content

chore(api): bump etl for playlists.last_added_to (#348)#933

Merged
raymondjacobson merged 1 commit into
mainfrom
chore/bump-etl-last-added-to
Jun 9, 2026
Merged

chore(api): bump etl for playlists.last_added_to (#348)#933
raymondjacobson merged 1 commit into
mainfrom
chore/bump-etl-last-added-to

Conversation

@raymondjacobson

Copy link
Copy Markdown
Member

Summary

Bumps github.com/OpenAudio/go-openaudio and .../pkg/etl from c5fcacf (#924) to e8586ac.

Primary: go-openaudio #348 — fixes playlists.last_added_to never being written (perpetually NULL), which silently broke the "recently added to" sort and the playlist-update notification. Now set to the block time of the most recent track add (code-only in #348).

Also carried (main advanced past the baseline): #345/#346 — the TrackCollaborator entity. This adds ETL migration 0033, which CREATE TABLE IF NOT EXISTS track_collaborators (a new, empty table) plus one index on it.

core-indexer runs this vendored image, so the bump is required to ship the fix.

Changes

  • go.mod / go.sum: both go-openaudio modules → v1.3.1-0.20260609013415-e8586ac9ce16

Deploy note — migration 0033 is low risk

0033 creates a brand-new empty table + index with IF NOT EXISTS. There's no existing data to scan and no ACCESS EXCLUSIVE lock on a populated table (unlike the 0031 slug index), so it applies instantly — no pre-build/CONCURRENT step needed. The last_added_to fix itself is code-only (no migration).

Test plan

  • go mod tidy — only go.mod/go.sum changed
  • go build ./... passes
  • resolved module contains the last_added_to writes (LastAddedTo in playlist_row.go) and migration 0033
  • Post-deploy: migration version 33 applied clean; creating/editing a playlist populates last_added_to, and a rename preserves it

🤖 Generated with Claude Code

Bumps go-openaudio to e8586ac. Primary: #348 fixes playlists.last_added_to
never being written (drives "recently added to" sort + playlist-update
notifications). Also carries #345/#346 (TrackCollaborator entity), which adds
migration 0033 creating the new track_collaborators table.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@raymondjacobson raymondjacobson merged commit 7047d7e into main Jun 9, 2026
5 checks passed
@raymondjacobson raymondjacobson deleted the chore/bump-etl-last-added-to branch June 9, 2026 02:03
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