Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If a skill exists but the instance is None then reload it #397

Closed
wants to merge 1 commit into from

Conversation

lbt
Copy link

@lbt lbt commented Jan 6, 2024

Presumably it tried to reload and there was an instantiation error. This often happens during development with automatic reloads.

Presumably it tried to reload and there was an instantiation error.
This often happens during development with automatic reloads.

Signed-off-by: David Greaves <[email protected]>
@lbt
Copy link
Author

lbt commented Jan 6, 2024

See also : OpenVoiceOS/OVOS-workshop#173

@JarbasAl JarbasAl added the bug Something isn't working label Jan 6, 2024
Copy link

codecov bot commented Jan 6, 2024

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (835ac34) 60.90% compared to head (76b386d) 60.70%.
Report is 9 commits behind head on dev.

Files Patch % Lines
ovos_core/skill_manager.py 0.00% 6 Missing ⚠️
ovos_core/intent_services/adapt_service.py 60.00% 2 Missing ⚠️
ovos_core/intent_services/padacioso_service.py 60.00% 2 Missing ⚠️
ovos_core/intent_services/padatious_service.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #397      +/-   ##
==========================================
- Coverage   60.90%   60.70%   -0.21%     
==========================================
  Files          13       13              
  Lines        1857     1878      +21     
==========================================
+ Hits         1131     1140       +9     
- Misses        726      738      +12     
Flag Coverage Δ
unittests 60.70% <47.82%> (-0.21%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lbt
Copy link
Author

lbt commented Jan 6, 2024

Closing
After discussions:

  • The "load skills from a folder" feature is going away
  • This will retry forever
  • There are issues if the skill launches threads etc which are hard to clean up
  • There is an ovos-skill-launcher which is a better option for development use

@lbt lbt closed this Jan 6, 2024
@voronaivan93
Copy link

voronaivan93 commented Jan 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants