Skip to content

Fix polling after seek during playback#271

Open
happykawayigt wants to merge 1 commit into
hyperaudio:mainfrom
happykawayigt:fix/reschedule-poll-after-seek
Open

Fix polling after seek during playback#271
happykawayigt wants to merge 1 commit into
hyperaudio:mainfrom
happykawayigt:fix/reschedule-poll-after-seek

Conversation

@happykawayigt

Copy link
Copy Markdown

Summary

  • reschedule transcript polling after a seek while playback is still running
  • preserve paused-seek behavior without starting a polling loop
  • add a regression test for the stale-timer scenario

Root cause

handleSeeked() updated the visual state but left the timer scheduled from the pre-seek position. Seeking from a long silence into dense speech could therefore leave highlighting frozen until that stale timer fired.

Validation

  • npm run build
  • npm test -- --runInBand (72 tests passed)

Fixes #264

@happykawayigt
happykawayigt marked this pull request as ready for review July 23, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

handleSeeked never re-arms the poll timer — highlight freezes for minutes after seeking during playback in a long silence

1 participant