Skip to content

fix(api): drop top_city from the weekly artist recap - #1080

Merged
dylanjeffers merged 1 commit into
mainfrom
fix/recap-drop-top-city
Nov 12, 2026
Merged

dylanjeffers merged 1 commit into
mainfrom
fix/recap-drop-top-city

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

Michael asked to stop showing listener cities: for many artists the top cities are a few non-US metros, which reads badly. The dashboard Top Cities card is already off in Optimizely (dashboard_top_cities Off, rev 3224). This removes the city from the weekly recap notification.

  • WeeklyArtistRecapNotificationsJob no longer computes or writes top_city; the week's plays scan only counts plays now.
  • Swagger drops the optional top_city field.
  • No client change needed: the web/mobile tile and the pedalboard push already skip the city when it's missing.
  • No rows exist yet (first recap is 2026-11-18), so there's no old data to handle.

Also carries the one-line strconv import fix from #1079 so CI builds; it merges cleanly either way.

go test ./jobs/ -run WeeklyArtistRecap passes.

🤖 Generated with Claude Code

Listener cities read poorly for many artists (a few non-US metros dominate), so
the recap no longer reports one. Clients already render the recap without it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dylanjeffers
dylanjeffers merged commit 7b9a8e9 into main Nov 12, 2026
@dylanjeffers
dylanjeffers deleted the fix/recap-drop-top-city branch November 12, 2026 22:42
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