[PR #571] [MERGED] fix(calls): keep iPhone speech processing responsive #1030

Closed
opened 2026-10-20 17:33:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/571
Author: @SpicyMarinara
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/570-ios-calls


📝 Commits (2)

  • 0f224af chore: start issue 570 fix
  • 9fd8f10 fix(calls): keep iPhone speech responsive

📊 Changes

11 files changed (+77 additions, -52 deletions)

View changed files

➕ artifacts/conversation-calls-1.0.13.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v3/catalog.json (+8 -8)
📝 packages/conversation-calls/agents.json (+1 -1)
📝 packages/conversation-calls/client.js (+11 -11)
📝 packages/conversation-calls/locales/en.json (+1 -1)
📝 packages/conversation-calls/manifest.json (+5 -5)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 sources/engine/packages/client/src/components/chat/ConversationCallSurface.tsx (+24 -7)
📝 tests/conversation-calls-summary.regression.mjs (+10 -2)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Closes #570
Related: Pasta-Devs/Marinara-Engine#5505

Why this change

  • Recorded call audio was mixed, resampled, and encoded in uninterrupted JavaScript loops. That can monopolize an iPhone browser's main thread after speech ends. The speech guard also remained held through reply playback, so later turns were rejected as still processing.

What changed

  • Yield to the browser between bounded audio-conversion chunks while preserving the existing PCM/WAV output.
  • Release the speech-submission guard once the model response arrives, before reply playback; the existing interaction queue still serializes follow-up work.
  • Rebuild Calls as 1.0.13 with its catalog entries and signed-by-checksum artifact metadata.
  • Extend the Calls regression to cover both responsiveness safeguards.

Package and security impact

  • Affected package IDs: conversation-calls
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: package update only; no storage changes
  • Executable package payload was regenerated from the committed captured source and validated against its manifest, artifact hash, and catalog lanes.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Validation notes

  • npm run check: passed with existing repository warnings and no errors.
  • node tests/conversation-calls-summary.regression.mjs: passed.
  • node scripts/test-catalog-lanes.mjs: passed.
  • node scripts/validate-package-locales.mjs: passed.
  • node scripts/validate-catalog.mjs: passed.
  • git diff --check: passed.
  • Manual iPhone/WebKit verification of consecutive turns in all four Calls input modes remains requested.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

No documentation changes are required for this behavior-only patch.

UI evidence (if applicable)

  • Not applicable.

Summary by CodeRabbit

  • New Features
    • Released Conversation Calls version 1.0.13 with refreshed package artifacts and metadata.
  • Documentation
    • Simplified the Conversation Calls description by removing outdated setup instructions.
  • Bug Fixes
    • Improved reliability around audio conversion and call-speech playback state handling.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/571 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/570-ios-calls` --- ### 📝 Commits (2) - [`0f224af`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0f224af5139da63508367b75803839b57c9f7bc7) chore: start issue 570 fix - [`9fd8f10`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9fd8f105ba6f5cec538a3c1c609c7001a5b37551) fix(calls): keep iPhone speech responsive ### 📊 Changes **11 files changed** (+77 additions, -52 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/conversation-calls-1.0.13.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `packages/conversation-calls/agents.json` (+1 -1) 📝 `packages/conversation-calls/client.js` (+11 -11) 📝 `packages/conversation-calls/locales/en.json` (+1 -1) 📝 `packages/conversation-calls/manifest.json` (+5 -5) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `sources/engine/packages/client/src/components/chat/ConversationCallSurface.tsx` (+24 -7) 📝 `tests/conversation-calls-summary.regression.mjs` (+10 -2) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Closes #570 Related: Pasta-Devs/Marinara-Engine#5505 ## Why this change - Recorded call audio was mixed, resampled, and encoded in uninterrupted JavaScript loops. That can monopolize an iPhone browser's main thread after speech ends. The speech guard also remained held through reply playback, so later turns were rejected as still processing. ## What changed - Yield to the browser between bounded audio-conversion chunks while preserving the existing PCM/WAV output. - Release the speech-submission guard once the model response arrives, before reply playback; the existing interaction queue still serializes follow-up work. - Rebuild Calls as 1.0.13 with its catalog entries and signed-by-checksum artifact metadata. - Extend the Calls regression to cover both responsiveness safeguards. ## Package and security impact - Affected package IDs: conversation-calls - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: package update only; no storage changes - Executable package payload was regenerated from the committed captured source and validated against its manifest, artifact hash, and catalog lanes. ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Validation notes - `npm run check`: passed with existing repository warnings and no errors. - `node tests/conversation-calls-summary.regression.mjs`: passed. - `node scripts/test-catalog-lanes.mjs`: passed. - `node scripts/validate-package-locales.mjs`: passed. - `node scripts/validate-catalog.mjs`: passed. - `git diff --check`: passed. - Manual iPhone/WebKit verification of consecutive turns in all four Calls input modes remains requested. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No documentation changes are required for this behavior-only patch. ## UI evidence (if applicable) - Not applicable. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Released Conversation Calls version 1.0.13 with refreshed package artifacts and metadata. - **Documentation** - Simplified the Conversation Calls description by removing outdated setup instructions. - **Bug Fixes** - Improved reliability around audio conversion and call-speech playback state handling. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:33:22 +07:00
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#1030
No description provided.