Add guest browsing, onboarding profile fields, and a background job pipeline for uploads
Home and Discovery now serve anonymous callers (get_current_user_optional)
so unauthenticated visitors can browse and identify songs - Discovery's
rate limiter keys off IP instead of user_id for guests, and the
save/claim step is skipped entirely since there's no account to attach it
to. UserProfile gains display_name/preferred_genres for the new 4-page
onboarding (replacing the old 6-step tour), plus PATCH /auth/profile and
POST /auth/profile/avatar to save them.
POST /music/upload no longer blocks on the full identify/tag pipeline -
it saves the file, creates an UploadJob, and hands identify/tag off to a
BackgroundTasks job (mirroring RemixJob/ChatScanJob), returning
{job_id, status} immediately. This is what lets the frontend upload
several files concurrently instead of queuing each one behind the last,
and what lets tagging keep running after the uploading tab closes - GET
/music/upload/jobs is how the client finds out the result, including
reconciling after a reload.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
| Name | Stage | Failure | ||
|---|---|---|---|---|
|
failed
|
deploy_prod | Deploy | There has been a timeout failure or the job got stuck. Check your timeout limits or try again | |
|
||||