Skip to content

fix(inworld): do not leak connections when when cancelled#5427

Merged
davidzhao merged 1 commit intomainfrom
dz/fix-inworld-lead
Apr 12, 2026
Merged

fix(inworld): do not leak connections when when cancelled#5427
davidzhao merged 1 commit intomainfrom
dz/fix-inworld-lead

Conversation

@davidzhao
Copy link
Copy Markdown
Member

asyncio.CancelledError does not inherit from Exception

fixes #5426

asyncio.CancelledError does not inherit from `Exception`

fixes #5426
@davidzhao davidzhao requested a review from a team April 12, 2026 18:47
@davidzhao davidzhao merged commit 2fc9adc into main Apr 12, 2026
25 checks passed
@davidzhao davidzhao deleted the dz/fix-inworld-lead branch April 12, 2026 21:04
osimhi213 added a commit to de-id/livekit-agents that referenced this pull request Apr 15, 2026
* upstream/main: (31 commits)
  chore: reduce renovate noise (livekit#5421)
  Rename e2ee to encryption in JobContext.connect (livekit#5454)
  feat: add Runway Characters avatar plugin (livekit#5355)
  Fix FrameProcessor lifecycle for selector based noise cancellation (livekit#5433)
  Feature - Configurable session close transcript timeout (livekit#5328)
  add ToolSearchToolset and ToolProxyToolset for dynamic tool discovery (livekit#5140)
  feat(beta/workflows): add InstructionParts for modular instruction customization (livekit#5077)
  fix: allow multiple AsyncToolsets by deduplicating management tools (livekit#5369)
  fix: empty transcript blocks commit_user_turn until timeout (livekit#5429)
  Feature/krisp viva sdk support (livekit#4370)
  feat: add service_tier parameter to Responses API LLM (livekit#5346)
  fix(inworld): do not leak connections when when cancelled (livekit#5427)
  update: Sarvam STT - add verbose error loggin and remove retry connection (livekit#5373)
  chore(deps): update github workflows (major) (livekit#5424)
  (azure openai): ensure gpt-realtime-1.5 compatibility (livekit#5407)
  chore(deps): update dependency nltk to v3.9.4 [security] (livekit#5418)
  chore(deps): update dependency aiohttp to v3.13.4 [security] (livekit#5416)
  chore(deps): update dependency langchain-core to v1.2.28 [security] (livekit#5417)
  chore: pin GHA by commit (livekit#5415)
  fix(aws): unwrap doubly-encoded JSON tool arguments from Nova Sonic (livekit#5411)
  ...
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.

[Detail Bug] Inworld TTS: Cancelling context acquisition leaks pool reservations and connections, exhausting capacity

2 participants