Skip to content

fix(voice): a call's end tells the hub it hung up, so a restart stops waiting on it - #506

Merged
AVGVSTVS96 merged 1 commit into
mainfrom
fix/voice-hangup-frees-restart
Nov 22, 2026
Merged

AVGVSTVS96 merged 1 commit into
mainfrom
fix/voice-hangup-frees-restart

Conversation

@AVGVSTVS96

Copy link
Copy Markdown
Owner

Since #503 the voice bot no longer calls hub.renew when a call ends, and
renew was the only thing that took the call off the hub's list of live
calls. So every call since stayed "live" to the hub forever, and a restart
(HUP from bin/update) waits for live calls to hang up: the hub that
started Nov 18 took the Nov 21 update's HUP and never restarted, so #504
(the mute fix) and #505 are in the checkout but not running.

Fix: the hub exposes hangUp, and the voice bot calls it as a call ends,
without asking for a renew.

Test: calls.hub.test.ts gains a call that hangs up without renewing and
frees a restart; it fails on main. hub.ts's startHub allowance goes
430 -> 431 for the one new line.

… waiting on it

Since #503 the voice bot no longer calls hub.renew when a call ends, and
renew was the only thing that took the call off the hub's list of live
calls. So every call since stayed "live" to the hub forever, and a restart
(HUP from bin/update) waits for live calls to hang up: the hub that
started Nov 18 took the Nov 21 update's HUP and never restarted, so #504
(the mute fix) and #505 are in the checkout but not running.

Fix: the hub exposes hangUp, and the voice bot calls it as a call ends,
without asking for a renew.

Test: calls.hub.test.ts gains a call that hangs up without renewing and
frees a restart; it fails on main. hub.ts's startHub allowance goes
430 -> 431 for the one new line.
@vercel

vercel Bot commented Nov 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hex Ready Ready Preview Nov 22, 2026 2:58am UTC

Request Review

@AVGVSTVS96
AVGVSTVS96 merged commit dfe0b93 into main Nov 22, 2026
6 of 7 checks passed
@AVGVSTVS96
AVGVSTVS96 deleted the fix/voice-hangup-frees-restart branch November 22, 2026 03:07

This branch was successfully deployed

1 active deployment
Preview — a4d5476e Deployed Nov 22, 2026 by vercel[bot]
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.

1 participant