-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Utilize the mycroft-messagebus-client module #2863
Utilize the mycroft-messagebus-client module #2863
Conversation
Voight Kampff Integration Test Failed (Results). |
I definitely support more modular code. I see this as a big benefit for plugins, etc. to be able to utilize the exact same messagebus package as core. FWIW, I'm testing similar changes as these against the NeonAI fork of mycroft-core without issue. |
8b08387
to
33f320d
Compare
The requirements.txt has been updated with the released package. |
Voight Kampff Integration Test Failed (Results). |
33f320d
to
1e02094
Compare
Voight Kampff Integration Test Succeeded (Results) |
This utilizes the shared messagebus client implemented in the mycroft-messagebus-client.
1e02094
to
9acf5b7
Compare
Voight Kampff Integration Test Succeeded (Results) |
Anything holding up this PR? The event-based waiting alone was a notable speed up to skill responses in my testing. |
Nope this all looks good. I didn't expect such a noticeable speed improvement but the VK tests are a good indicator for this - they are running almost 20% quicker! |
Description
Thanks to @NeonDaniel the mycroft-messagebus-client is (almost) back in sync with core. Discussions in chat suggested that there might be a good idea to switch to using the common module. It was proposed back in #2431, but perhaps the world is ready for this abstraction now :)
Currently still in WIP due to a pending PR, VK fails due to the git+ urls aren't parsed in setup.py without jumping through some hoops. But can be tested locally using the dev_setup.sh script.
The pros are
The cons:
How to test
Make sure mycroft runs as expected
Contributor license agreement signed?
CLA [ yes ]