Skip to content

fix(ws): auto-ack notification hooks (status/conference events)#13

Merged
davehorton merged 1 commit into
mainfrom
feat/auto-ack-notification-hooks
Jun 19, 2026
Merged

fix(ws): auto-ack notification hooks (status/conference events)#13
davehorton merged 1 commit into
mainfrom
feat/auto-ack-notification-hooks

Conversation

@davehorton

Copy link
Copy Markdown
Contributor

Conference/status verb:hook events (start, join, leave, say-start/done, play-start/done) are observational — an app that registers a session.on('/room-status', …) listener to watch them never reply()s, so each event timed out far-end (~5s) on the feature-server and logged noise (seen across a room-say live test: every status event → timeout from far end for msgid …).

The SDK delivers verb:hook to the listener and then waits for the app to reply (correct for action hooks, whose reply carries verbs). This change auto-acks notification hooks — identified by data.event (the jambonz status-event marker) — immediately after emitting to the listener. Action hooks (no data.event) are unchanged: the app still owns the reply.

Adds the first session message-handling tests (notification auto-acks; action hook does not; no-listener unchanged). Full suite 120 green.

🤖 Generated with Claude Code

…s events

verb:hook messages are delivered to the app's path listener and the SDK then
waited for the app to reply() — fine for action hooks (the reply carries verbs),
but conference/status events (start, join, leave, say-start/done, play-start/done)
are observational: an app that just watches them never replies, so each one timed
out far-end (~5s) and logged noise. Auto-ack verb:hook notifications (identified
by data.event, the jambonz status-event marker) right after emitting to the
listener. Action hooks (no data.event) are unchanged — the app still owns the
reply. Adds session message-handling tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@davehorton davehorton merged commit 69a1643 into main Jun 19, 2026
1 check passed
@davehorton davehorton deleted the feat/auto-ack-notification-hooks branch June 19, 2026 14:41
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