Selecting a song with shuffle enabled discarded earlier album or playlist tracks. Mobile could also carry a native player's position or a pending seek into a new queue.
Keep the selected song first and shuffle the full remaining collection on mobile, web, and the matching backend mutations. Reset mobile playback when starting a new queue. Track album/playlist origins so reselecting the current song from the same origin leaves playback and queue order alone; selecting it from another origin restarts playback. Also fix the mobile build-variant type error.
Validation:
Workspace typechecks and ESLint for the changed web files passed.
500 shuffled selections passed queue membership, selected-first, history, and progress checks. Ordered playback and deferred queue extension also passed.
Android development app loaded this worktree through Metro. Selected album track 4 with shuffle enabled and verified track 1 remained upcoming. Reselecting the current track from the same album preserved playback past three minutes.
Remaining manual coverage: cross-origin restart, playlist playback, and iOS. The shared Android emulator changed apps during testing. Browser playback verification timed out during the isolated Next.js app's first compile while the host had heavy memory pressure and full swap. No backend deployment was performed.
Made with GPT-6.1-sol using the Codex harness in T3 Code.
Selecting a song with shuffle enabled discarded earlier album or playlist tracks. Mobile could also carry a native player's position or a pending seek into a new queue.
Keep the selected song first and shuffle the full remaining collection on mobile, web, and the matching backend mutations. Reset mobile playback when starting a new queue. Track album/playlist origins so reselecting the current song from the same origin leaves playback and queue order alone; selecting it from another origin restarts playback. Also fix the mobile build-variant type error.
Validation:
- Workspace typechecks and ESLint for the changed web files passed.
- 500 shuffled selections passed queue membership, selected-first, history, and progress checks. Ordered playback and deferred queue extension also passed.
- Android development app loaded this worktree through Metro. Selected album track 4 with shuffle enabled and verified track 1 remained upcoming. Reselecting the current track from the same album preserved playback past three minutes.
- [Android screen recording](https://files.gitcoffee.dev/files/otunes-shuffle-android-hoix9dyi6zajdbxk.mp4)
Remaining manual coverage: cross-origin restart, playlist playback, and iOS. The shared Android emulator changed apps during testing. Browser playback verification timed out during the isolated Next.js app's first compile while the host had heavy memory pressure and full swap. No backend deployment was performed.
Made with GPT-6.1-sol using the Codex harness in T3 Code.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Selecting a song with shuffle enabled discarded earlier album or playlist tracks. Mobile could also carry a native player's position or a pending seek into a new queue.
Keep the selected song first and shuffle the full remaining collection on mobile, web, and the matching backend mutations. Reset mobile playback when starting a new queue. Track album/playlist origins so reselecting the current song from the same origin leaves playback and queue order alone; selecting it from another origin restarts playback. Also fix the mobile build-variant type error.
Validation:
Remaining manual coverage: cross-origin restart, playlist playback, and iOS. The shared Android emulator changed apps during testing. Browser playback verification timed out during the isolated Next.js app's first compile while the host had heavy memory pressure and full swap. No backend deployment was performed.
Made with GPT-6.1-sol using the Codex harness in T3 Code.
eb96901553to43d2017e1c