Skip to content

Support for request/response signaling messages - #984

Open
ladvoc wants to merge 9 commits into
mainfrom
ladvoc/request-response
Open

ladvoc wants to merge 9 commits into
mainfrom
ladvoc/request-response

Conversation

@ladvoc

@ladvoc ladvoc commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Adds handling for RequestResponse signal messages: requests can now carry a request id and wait for their response (or a typed success message) with newPendingRequest/Await, and responses nobody is waiting on are forwarded to the room, which logs failures. Groundwork for data tracks and other request/response signalling; no public API changes.

Closes BOT-541

@ladvoc
ladvoc force-pushed the ladvoc/request-response branch from d3bb13d to e0596d8 Compare September 4, 2026 15:07
@ladvoc
ladvoc marked this pull request as ready for review September 4, 2026 16:05
@ladvoc
ladvoc requested a review from a team as a code owner September 4, 2026 16:05
@ladvoc
ladvoc requested a review from boks1971 September 4, 2026 16:06
devin-ai-integration[bot]

This comment was marked as resolved.

Comment thread requestresponse.go
}
}

func (p *pendingRequest) ID() uint32 {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:nit: group all the methods of pendingRequest and all method of engine (if it can be moved to engine.go, that would be great too) together. Would be good to avoid interspersed methods.

Also, methods which are not struct methods, move them to the end.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Addressed in e3e4069 and 63c0cc2 respectively.

Comment thread signalling/signalhandler.go
@ladvoc
ladvoc force-pushed the ladvoc/request-response branch 2 times, most recently from 036563a to 618d127 Compare September 14, 2026 21:40
@ladvoc
ladvoc force-pushed the ladvoc/request-response branch from 618d127 to fa264c6 Compare September 22, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants