Skip to content

fix(api): drop unused strconv import - #1079

Merged
dylanjeffers merged 1 commit into
mainfrom
fix/api-unused-strconv
Nov 12, 2026
Merged

dylanjeffers merged 1 commit into
mainfrom
fix/api-unused-strconv

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

#1078 removed the last strconv use in api/server.go, so go build and the Docker image build on main fail (run for 570f3d3). Prod is still on the 5c7465d image; nothing new deploys until this lands.

go build ./... and go vet ./api/ pass.

🤖 Generated with Claude Code

#1078 removed the last strconv use in server.go, so the Docker build on main fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dylanjeffers
dylanjeffers merged commit 4e04f71 into main Nov 12, 2026
@dylanjeffers
dylanjeffers deleted the fix/api-unused-strconv branch November 12, 2026 22:36
dylanjeffers added a commit that referenced this pull request Nov 12, 2026
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](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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