Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

fix: rpc race condition#702

Merged
menduz merged 6 commits into
mainfrom
test-race-conditions
Nov 15, 2022
Merged

fix: rpc race condition#702
menduz merged 6 commits into
mainfrom
test-race-conditions

Conversation

@menduz
Copy link
Copy Markdown
Member

@menduz menduz commented Nov 14, 2022

Fixes race condition in which transports are created and connected before instantiating the first port.

Also exposes the rendererPort to the scenes, to be used with new RPC modules

Also fixes linter issues.

The idea behind exposing a port to a scene is to continue moving forward in the direction of kernel doing as few things as possible. Enabling the possibility to act as proxy to send requests directly to the renderer. To do so, it would need to create a port per scene to send all the messages of the scene using that port. @pbosio @leanmendoza this can be a later change

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 14, 2022

Test this pull request

@menduz menduz changed the title test race condition fix: rpc race condition Nov 15, 2022
@menduz menduz marked this pull request as ready for review November 15, 2022 00:33
@menduz menduz requested a review from a team as a code owner November 15, 2022 00:33
@menduz menduz merged commit e9c92ad into main Nov 15, 2022
@menduz menduz deleted the test-race-conditions branch November 15, 2022 15:25
menduz added a commit that referenced this pull request Nov 15, 2022
kuruk-mm pushed a commit that referenced this pull request Nov 16, 2022
kuruk-mm pushed a commit that referenced this pull request Nov 16, 2022
kuruk-mm added a commit that referenced this pull request Nov 16, 2022
kuruk-mm added a commit that referenced this pull request Nov 16, 2022
…tion (#702)" (#712)" (#714)

* Revert "Revert "fix: rpc race condition (#702)" (#712)"

This reverts commit 06ff955.

* increment major
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants