UAT on the real library and the live Spotify app #48

Merged
forgejo-admin merged 1 commit from docs/uat-real-library into main 2026-09-28 21:01:12 +00:00

Problem

The UAT tested on a copy of the library, with a fake Spotify player and a fake search catalog. The DJ would rather run it the way a real set runs.

Solution

The fake pass is gone. Setup now:

  • stores the test DJ token in library.db
  • runs the app server with real Spotify search
  • runs the console with bun start, driving the Spotify app

Search goes first, as step 0, because Spotify's app-only login is unverified for this app. Everything about requests depends on it. If it fails, the doc says to stop and record the error.

Changes to fit a real library:

  • The badge check asks you to request a track you've already excluded, because the console has no undo for excluding.
  • The setup lists what testing leaves behind, all of it what production would do anyway: needs-review tracks for requested new tracks, test plays, requests, and a test token that the first real sign-in replaces.
  • "Clean up" has an optional query to remove test sets' plays, so they don't skew candidate recency.

Docs only.

🤖 Generated with Claude Code

## Problem The UAT tested on a copy of the library, with a fake Spotify player and a fake search catalog. The DJ would rather run it the way a real set runs. ## Solution The fake pass is gone. Setup now: - stores the test DJ token in `library.db` - runs the app server with real Spotify search - runs the console with `bun start`, driving the Spotify app **Search goes first**, as step 0, because Spotify's app-only login is unverified for this app. Everything about requests depends on it. If it fails, the doc says to stop and record the error. **Changes to fit a real library:** - The badge check asks you to request a track you've *already* excluded, because the console has no undo for excluding. - The setup lists what testing leaves behind, all of it what production would do anyway: needs-review tracks for requested new tracks, test plays, requests, and a test token that the first real sign-in replaces. - "Clean up" has an optional query to remove test sets' plays, so they don't skew candidate recency. Docs only. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
UAT on the real library and the live Spotify app
All checks were successful
pr-validate / validate (pull_request) Successful in 7s
pr-validate / e2e (pull_request) Successful in 54s
9a14b63794
Drop the fake-catalog pass and the library copy: test against library.db and
real Spotify search, with search checked first (client credentials are
unverified) and a cleanup query for test-set plays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
forgejo-admin deleted branch docs/uat-real-library 2026-09-28 21:01:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
celilo/tango-dj!48
No description provided.