fix(spotify): migrate to the February 2026 Web API endpoints #94
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.62) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 264 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.334
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
1 comments
"Review active on #94"
general
weight: 0.35
steipete
Change
Restore Spotify Development Mode operations after the February 2026 API migration: create playlists through
/me/playlists, use playlist/itemsendpoints, and save/remove/follow through/me/library. Accept both current and Extended Quota response shapes, including an explicit zero count.Search requests page at ten results while retaining the caller's requested count and offset. Library mutations use batches of at most 40 URIs and stop at the first failed batch, preserving operations that exceeded the replacement endpoint's smaller limit.
Refresh compatible Go dependencies and build with Go 1.27.4 to fix the reachable GO-2026-6859 HTTP-server vulnerability. The source minimum remains Go 1.26.7. Document Connect's unavailable playlist counts without changing JSON/plain output or issuing a request per playlist.
Fixes #93. Resolves #96 through its documented-limitation option.
Validation
Reproduced the old search behavior with failing tests: requests for 25 and 15 results were sent as single oversized requests. Reproduced the unbatched library failure for track/album/artist saves and removals against a synthetic endpoint enforcing the 40-URI limit.
The affected Spotify, CLI, and cookie packages pass locally. Independent P0–P2 review identified the missing mutation batching; the completed fix passed a fresh independent review. Final isolated Linux proof on Go 1.27.4 passed: race coverage 90.7%,
go vet ./..., deadcode v0.52.0, no findings from the currentgovulncheck, golangci-lint v2.15.0, built CLI version/completion smoke, and docs generation. A discovered empty-input batching regression was fixed and the full final gate rerun. Hosted exact-head CI passed on Linux, Windows, and macOS before merge.The contributor's original live Development Mode evidence remains available at https://gist.github.com/RtYkk/1a82179076d9de81afba11a77f3327c7. Maintainer verification uses synthetic HTTP servers; no personal Spotify account or library was changed.
No application version change, tag, or release.