Skip to content

feat/refactor-roles#48

Open
r0liveir wants to merge 6 commits into
mainfrom
feat/add-backend-testing
Open

feat/refactor-roles#48
r0liveir wants to merge 6 commits into
mainfrom
feat/add-backend-testing

Conversation

@r0liveir

Copy link
Copy Markdown
Contributor

This PR introduce SessionActor as an internal model that is used by engine, service, manager, and etc.

It also standardizes every call to either "sender: str" or "delegation_id: int" into something more useful.

This is part of a broader range of commits aimed to automate testing of API and React

r0liveir added 5 commits June 16, 2026 19:31
This commit introduces SessionRole, SessionActor and passes Delegation as a subobject of SessionActor, which is a model defining who is acting right now.

It also changes and makes every call to know who send the event to use SessionActor now

Expected usage in frontend is as: , later usage will strip display_name from here so we can verify only by delegation_id or an introduced mapping (user_id -> delegation_id) setted at OPEN_SESSION stage or by chair
…ActorResolutionError for upstream WebSocket exception handling
@r0liveir

Copy link
Copy Markdown
Contributor Author

@Extroias @Rafael-Lombardi @milena-depaula deem suas reviews (mesmo que não tenham familiaridade com o frontend) e vejam se faz sentido pro nosso uso atual :)

@r0liveir r0liveir requested a review from milena-depaula June 17, 2026 17:46
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