fix(spotify): propagate token update failures - #74
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughChangesSpotify token persistence
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
| Filename | Overview |
|---|---|
| service/spotify/spotify.go | Propagates existing-user token update failures before mutating the cached token; no actionable defect identified. |
| service/spotify/spotify_test.go | Adds focused regression coverage using a database trigger to verify persistence and cache consistency after failure. |
Reviews (1): Last reviewed commit: "fix(spotify): propagate token update fai..." | Re-trigger Greptile
82be32b to
777756e
Compare
Summary
Test plan
go test ./service/spotify -run TestSetAccessToken_ExistingUserUpdateFailureReturnsError -count=1go test -race ./...git diff --checkStacked on #72. The base branch mirrors the current head of that PR.
Summary by CodeRabbit
Bug Fixes
Tests