Skip to content

meowcaller: bound incoming final accept - #11

Draft
dodouglas123 wants to merge 9 commits into
purpshell:mainfrom
dodouglas123:agent/incoming-accept-fallback
Draft

meowcaller: bound incoming final accept#11
dodouglas123 wants to merge 9 commits into
purpshell:mainfrom
dodouglas123:agent/incoming-accept-fallback

Conversation

@dodouglas123

Copy link
Copy Markdown

Makes incoming final accept bounded and idempotent. The existing mute_v2 path remains immediate, while a configurable fallback starts only after relay transport is ready. Includes deterministic fake-clock/fake-sender coverage for voice, video, cancellation, concurrency, late callbacks, and send failure. Validation: go vet ./..., go test ./..., and go test -race ./... with Go 1.26.4.

@purpshell purpshell left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bounded/idempotent incoming-accept state machine is promising. Its synthetic merge passes go test ./..., go vet ./..., and go test -race ..

It is not ready to leave draft yet because it also changes capability bytes, preaccept video shape, and final-accept video shape without live validation. Please rebase after #9 and select the incoming FNA relay for the echoed final-accept endpoint. Separate the accept lifecycle from the signaling-shape changes, add exact capability and video-attribute fixtures, and live-test incoming audio and incoming video calls before marking ready.

Comment thread incoming_accept.go
e.c.log.Error().Err(err).Str("call_id", callID).Msg("incoming accept fallback failed")
}
})
m.accept.timer = timer

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This uses the direction-agnostic endpoint selector and therefore chooses the non-FNA relay on incoming calls. After #9, pass the incoming direction and echo the same selected FNA endpoint used by media allocation.

@purpshell

Copy link
Copy Markdown
Owner

Resolve conflicts for merge

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.

2 participants