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

Add a safety harness in skill_manager main loop #2316

Merged
merged 1 commit into from
Sep 18, 2019

Conversation

forslund
Copy link
Collaborator

Description

This captures any unhandled expressions and will at least make sure
they're logged properly. (Exceptions in threads are mostly not printed
to stdout).

This sleeps slightly longer than normal (10 seconds) and then tries to resume
normal operation.

I've had one instance where skills reloading / updating stopped.

How to test

Make sure the normal loop runs as expected and reloads are handled correctly.

Contributor license agreement signed?

CLA [ Yes ]

@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Sep 18, 2019
@forslund forslund force-pushed the feature/safety-harness branch from 074f83c to 687b5c2 Compare September 18, 2019 17:53
This captures any unhandled expressions and will at least make sure
they're logged properly. (Exceptions in threads are mostly not printed
to stdout).

This sleeps slightly longer than normal (10 seconds) and then tries to resume
normal operation.
@forslund forslund force-pushed the feature/safety-harness branch from 687b5c2 to 4860b56 Compare September 18, 2019 17:56
@forslund
Copy link
Collaborator Author

Updated according to feedback

@davidwagnerkc davidwagnerkc merged commit d67d76a into MycroftAI:dev Sep 18, 2019
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants