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

refactor/pipeline_shutdown #484

Merged
merged 8 commits into from
May 28, 2024
Merged

refactor/pipeline_shutdown #484

merged 8 commits into from
May 28, 2024

Conversation

JarbasAl
Copy link
Member

adds shutdown method to pipeline components, allowing to deregister bus events etc

removes fallback V1 pipeline, that was only to help in transition, ovos-workshop only uses fallbackV1 if it detects ovos-core <= 0.0.7 it is impossible to use with ovos-core 0.0.8 in a natural way, standalone skills were introduced in core 0.0.8 and also use V2

see https://github.com/OpenVoiceOS/OVOS-workshop/blob/dev/ovos_workshop/skills/fallback.py#L74

when used, it only introduces 10 seconds latency for no good reason

streamlines main.py

adds shutdown method to pipeline components, allowing to deregister bus events etc

removes fallback V1 pipeline, that was only to help in transition, ovos-workshop only uses fallbackV1 if it detects ovos-core <= 0.0.7 it is impossible to use with ovos-core 0.0.8 in a natural way, standalone skills were introduced in core 0.0.8 and also use V2

see https://github.com/OpenVoiceOS/OVOS-workshop/blob/dev/ovos_workshop/skills/fallback.py#L74

when used, it only introduces 10 seconds latency for no good reason

streamlines main.py
@JarbasAl JarbasAl added the refactor code refactor without functional changes label May 28, 2024
@JarbasAl JarbasAl requested review from mikejgray, NeonDaniel and a team May 28, 2024 01:54
Copy link

codecov bot commented May 28, 2024

Codecov Report

Attention: Patch coverage is 86.40777% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 74.54%. Comparing base (0cead56) to head (f29923d).

Files Patch % Lines
ovos_core/__main__.py 0.00% 8 Missing ⚠️
ovos_core/intent_services/padatious_service.py 16.66% 5 Missing ⚠️
ovos_core/intent_services/__init__.py 97.43% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #484      +/-   ##
==========================================
+ Coverage   73.46%   74.54%   +1.08%     
==========================================
  Files          15       15              
  Lines        2762     2833      +71     
==========================================
+ Hits         2029     2112      +83     
+ Misses        733      721      -12     
Flag Coverage Δ
unittests 74.54% <86.40%> (+1.08%) ⬆️

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.

@JarbasAl JarbasAl merged commit 87b756b into dev May 28, 2024
4 checks passed
@JarbasAl JarbasAl deleted the refactor/pipeline_shutdown branch May 28, 2024 03:23
@JarbasAl JarbasAl modified the milestones: 0.1.0, 0.0.8 May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor code refactor without functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant