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

fix/activation+session #212

Merged
merged 1 commit into from
Jun 20, 2024
Merged

fix/activation+session #212

merged 1 commit into from
Jun 20, 2024

Conversation

JarbasAl
Copy link
Member

do not activate/deactivate the skill if there was no change to Session (avoid bus spam)

update session data so the skill already sees the skill as active, otherwise since it was async the Session was outdated in the intent handler

do not activate/deactivate the skill if there was no change to Session (avoid bus spam)

update session data so the skill already sees the skill as active, otherwise since it was async the Session was outdated in the intent handler
@JarbasAl JarbasAl added the bug Something isn't working label Jun 20, 2024
JarbasAl added a commit to OpenVoiceOS/ovos-core that referenced this pull request Jun 20, 2024
companion to OpenVoiceOS/OVOS-workshop#212

update session data so the skill already sees the skill as active, otherwise since it was async the Session was outdated in the intent handler
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (dev@824619d). Learn more about missing BASE report.

Files Patch % Lines
ovos_workshop/skills/ovos.py 75.00% 2 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #212   +/-   ##
======================================
  Coverage       ?   54.58%           
======================================
  Files          ?       36           
  Lines          ?     3972           
  Branches       ?        0           
======================================
  Hits           ?     2168           
  Misses         ?     1804           
  Partials       ?        0           

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

@JarbasAl JarbasAl merged commit 8e71cca into dev Jun 20, 2024
9 checks passed
@JarbasAl JarbasAl deleted the fix/activation branch June 20, 2024 18:37
JarbasAl added a commit to OpenVoiceOS/ovos-core that referenced this pull request Jun 20, 2024
* fix/activation_session

companion to OpenVoiceOS/OVOS-workshop#212

update session data so the skill already sees the skill as active, otherwise since it was async the Session was outdated in the intent handler

* no ocp double activation

* move dialog to the intent handler

* fix tests

* fix message.context

* requirements.txt
@github-actions github-actions bot mentioned this pull request Sep 2, 2024
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.

1 participant