-
-
Notifications
You must be signed in to change notification settings - Fork 29
improve skill shutdown #716
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
Conversation
WalkthroughThe changes update the skill shutdown process in the skill manager to attempt a skill-specific shutdown method before the default shutdown, with improved exception handling and logging. Additionally, the minimum required versions for Changes
Sequence Diagram(s)sequenceDiagram
participant SkillManager
participant SkillInstance
Note over SkillManager: During plugin skill unload
SkillManager->>SkillInstance: shutdown()
alt Exception occurs
SkillManager->>SkillManager: Log "Failed to run skill specific shutdown code"
end
SkillManager->>SkillInstance: default_shutdown()
alt Exception occurs
SkillManager->>SkillManager: Log "Failed to shutdown skill"
end
SkillManager->>SkillManager: Remove skill from plugin_skills
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Graph Analysis (1)ovos_core/skill_manager.py (6)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (3)
|
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary by CodeRabbit
Bug Fixes
Chores
ovos-workshopandovoscope.