[GH-ISSUE #944] [Issue]: Calls bundles an unbounded Safari autoplay retry loop #494

Closed
opened 2026-10-20 17:28:02 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Sep 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/944

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Calls bundles an older audio playback retry loop that can indefinitely retry a rejected play() without yielding. In a visible, focused iPhone tab, NotAllowedError can therefore freeze the UI after a response arrives.

Affected package

conversation-calls (Calls), version 1.0.16.

Expected behavior

Blocked autoplay waits for a fresh user gesture, remains cancellable, and keeps the UI responsive.

Actual behavior

The package's captured tts-service.ts retries immediately after an already-resolved visibility wait. The Engine has a corrected implementation, but Calls still contains the older copy.

Steps to reproduce

  1. Start a Conversation Call on iPhone and send text or spoken input.
  2. Let the character's TTS response reach browser playback without a fresh playback gesture.
  3. Observe the reported UI freeze. A mocked NotAllowedError can exercise the same retry path deterministically.

Environment

  • Marinara Engine version: Reported on 2.4.4 and 2.4.6.
  • Package version: 1.0.16.
  • Install type: Not provided.
  • OS + version: iOS 18.7.
  • Browser or app shell: iPhone Safari, Chrome, and Safari PWA.

Logs, screenshots, or video

Original report and media: Pasta-Devs/Marinara-Engine#6346. The reporter's Safari inspector ended in a microtask that did not yield. Physical iPhone reproduction has not yet been performed for this fix.

Additional context

Owner: @SpicyMarinara, assisted by Codex. Reuse the Engine's bounded, gesture-aware playback retry rather than introducing another playback system. Rebuild only Calls and its catalog entry.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/944 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Calls bundles an older audio playback retry loop that can indefinitely retry a rejected `play()` without yielding. In a visible, focused iPhone tab, `NotAllowedError` can therefore freeze the UI after a response arrives. ## Affected package `conversation-calls` (Calls), version 1.0.16. ## Expected behavior Blocked autoplay waits for a fresh user gesture, remains cancellable, and keeps the UI responsive. ## Actual behavior The package's captured `tts-service.ts` retries immediately after an already-resolved visibility wait. The Engine has a corrected implementation, but Calls still contains the older copy. ## Steps to reproduce 1. Start a Conversation Call on iPhone and send text or spoken input. 2. Let the character's TTS response reach browser playback without a fresh playback gesture. 3. Observe the reported UI freeze. A mocked `NotAllowedError` can exercise the same retry path deterministically. ## Environment - Marinara Engine version: Reported on 2.4.4 and 2.4.6. - Package version: 1.0.16. - Install type: Not provided. - OS + version: iOS 18.7. - Browser or app shell: iPhone Safari, Chrome, and Safari PWA. ## Logs, screenshots, or video Original report and media: Pasta-Devs/Marinara-Engine#6346. The reporter's Safari inspector ended in a microtask that did not yield. Physical iPhone reproduction has not yet been performed for this fix. ## Additional context Owner: @SpicyMarinara, assisted by Codex. Reuse the Engine's bounded, gesture-aware playback retry rather than introducing another playback system. Rebuild only Calls and its catalog entry. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:28:02 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Sep 19, 2026):

Fixed on staging by Pasta-Devs/Marinara-Agents#945 in Calls 1.0.17. The installed package now waits for a trusted gesture when autoplay is blocked, yields between retries, bounds repeated failures, and cancels playback waiting when the call ends. Regression and installed-package desktop/mobile browser proofs pass; all 15 GitHub checks passed. Update the Calls package to receive the fix. A physical iPhone on iOS 18.7 still needs a manual retest.

<!-- gh-comment-id:5742385712 --> @SpicyMarinara commented on GitHub (Sep 19, 2026): Fixed on staging by Pasta-Devs/Marinara-Agents#945 in Calls 1.0.17. The installed package now waits for a trusted gesture when autoplay is blocked, yields between retries, bounds repeated failures, and cancels playback waiting when the call ends. Regression and installed-package desktop/mobile browser proofs pass; all 15 GitHub checks passed. Update the Calls package to receive the fix. A physical iPhone on iOS 18.7 still needs a manual retest.
Sign in to join this conversation.
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
Pasta-Devs/Marinara-Agents#494
No description provided.