Skip to content

fix(spotify): propagate token update failures - #1

Closed
mmattbtw wants to merge 1 commit into
karitham:push-lmmyonqyytynfrom
teal-fm:fix/spotify-token-update-errors
Closed

fix(spotify): propagate token update failures#1
mmattbtw wants to merge 1 commit into
karitham:push-lmmyonqyytynfrom
teal-fm:fix/spotify-token-update-errors

Conversation

@mmattbtw

Copy link
Copy Markdown

Summary

  • return database token-update errors for existing Spotify users
  • keep the existing in-memory token unchanged when persistence fails
  • add a regression test using a real SQLite failure trigger

Test plan

  • go test ./service/spotify -run TestSetAccessToken_ExistingUserUpdateFailureReturnsError -count=1
  • go test -race ./...
  • git diff --check

Stacked on teal-fm#72.

@mmattbtw mmattbtw closed this Aug 27, 2026
@mmattbtw

Copy link
Copy Markdown
Author

dumbass agent submitted to wrong repo

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