docs(02-01): confirm UAT-004 resolved

This commit is contained in:
Nuwan 2026-01-14 11:53:27 +05:30
parent 0db622ad64
commit fc2b263550
1 changed files with 0 additions and 20 deletions

View File

@ -75,26 +75,6 @@ JKSessionScreen: Error opening backing track: Error: Invariant failed: A state m
**Impact:** Confusing UX when seeking while paused. Seek during playback works correctly.
**Possible Cause:** jamClient.SessionTrackSeekMs() may not register when track is paused, or needs explicit state sync.
### UAT-004: Seek to end while paused breaks player
**Discovered:** 2026-01-14
**Phase/Plan:** 02-01
**Severity:** Blocker
**Feature:** Seek controls edge case
**Description:** When paused and seeking to the very end of the track, then clicking play, the player enters a broken state where it won't play audio anymore.
**Expected:**
1. Pause audio
2. Drag slider to end
3. Click play → should play briefly from near end or restart from beginning
**Actual:**
1. Pause audio
2. Drag slider to end (slider stays at end visually)
3. Click play → slider jumps to 0:00, no audio plays
4. Subsequent play button clicks do nothing - player is broken
**Impact:** Player becomes non-functional, requires closing and reopening.
**Root Cause:** When position >= duration, jamClient enters end-of-track state. Calling SessionStartPlay() without resetting causes undefined behavior and breaks the player.
**Resolution:** Fixed in commit `ba93f1a27` - Added logic to detect when position is at/near end (within 100ms), calls SessionStopPlay() to reset state, seeks to 0, then starts playback normally.
## Resolved Issues
### UAT-001: Backing track player fails to open - Redux immutability violation