Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Ensure messagebus is connected before reporting that the service is ready #2758

Merged
merged 2 commits into from
Jan 5, 2021

Conversation

krisgesling
Copy link
Contributor

Description

  • Add standard method for starting the bus client as a daemon
  • Ensure messagebus is connected before reporting that the service is ready
  • Ensure exceptions during .run() are raised to the Enclosure service
  • Add missing .stop() method to base Enclosure Class and shift the call of it to after exit signal
  • Remove info level log presumably left over from development

To add:

  • Ensure GUI messagebus is connected before reporting ready.

How to test

Start Mycroft and check that the bus is connected before the service reports ready.

Contributor license agreement signed?

Switch to new standard method to connect to bus client
Ensure exceptions during .run() are raised to the Enclosure service
Add missing .stop() method to base Enclosure Class
Shift call of .stop() to after exit signal
@krisgesling krisgesling added the Status: Work in progress PR being actively worked on, not yet ready for review. label Nov 12, 2020
@krisgesling krisgesling changed the base branch from feature/mark-2 to dev November 13, 2020 00:23
@devops-mycroft devops-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Nov 13, 2020
@krisgesling krisgesling changed the base branch from dev to feature/mark-2 November 13, 2020 00:25
@krisgesling krisgesling mentioned this pull request Nov 13, 2020
1 task
@krisgesling krisgesling changed the base branch from feature/mark-2 to dev November 20, 2020 05:53
@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

@@ -128,7 +131,6 @@ def handle_gui_status_request(self, message):

def send(self, msg_dict):
""" Send to all registered GUIs. """
LOG.info('SENDING...')
Copy link
Contributor

Choose a reason for hiding this comment

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

Thank god!

@krisgesling krisgesling closed this Jan 4, 2021
@krisgesling krisgesling reopened this Jan 4, 2021
@devops-mycroft
Copy link

Voight Kampff Integration Test Failed (Results).
Mycroft logs are also available: skills.log, audio.log, voice.log, bus.log, enclosure.log

1 similar comment
@devops-mycroft
Copy link

Voight Kampff Integration Test Failed (Results).
Mycroft logs are also available: skills.log, audio.log, voice.log, bus.log, enclosure.log

@devops-mycroft
Copy link

Voight Kampff Integration Test Succeeded (Results)

@krisgesling krisgesling merged commit 81eae60 into dev Jan 5, 2021
@krisgesling krisgesling deleted the refactor/enclosure-startup branch January 5, 2021 11:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) Status: Work in progress PR being actively worked on, not yet ready for review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants