Skip to content

Update om1-modules dependency and enhance ASR provider logging#2546

Merged
openminddev merged 6 commits into
mainfrom
update-modules
Apr 22, 2026
Merged

Update om1-modules dependency and enhance ASR provider logging#2546
openminddev merged 6 commits into
mainfrom
update-modules

Conversation

@openminddev
Copy link
Copy Markdown
Contributor

This pull request includes updates to dependencies and improvements to resource cleanup and logging in the ASR (Automatic Speech Recognition) components. The most important changes are grouped below:

Dependency Updates:

  • Updated the om1-modules dependency in pyproject.toml to a newer commit, ensuring the latest module changes are included.

ASR Component Improvements:

  • In src/providers/asr_provider.py, added a logging statement to indicate when the ASR provider has stopped, improving observability.
  • In src/inputs/plugins/google_asr.py, ensured that the ASR engine is properly stopped when the session is closed, enhancing resource cleanup

Copilot AI review requested due to automatic review settings April 21, 2026 22:14
@openminddev openminddev requested review from a team as code owners April 21, 2026 22:14
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file robotics Robotics code changes python Python code config Configuration files labels Apr 21, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the pinned om1-modules dependency and improves ASR shutdown observability/cleanup by adding a “stopped” log to the ASR provider and stopping the ASR engine when the Google ASR input session is closed.

Changes:

  • Bump om1-modules git revision in pyproject.toml and uv.lock.
  • Add an “ASR provider stopped” log line in ASRProvider.stop().
  • Extend GoogleASRInput.stop() to stop the underlying ASRProvider.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
uv.lock Updates locked om1-modules git revision to match dependency bump.
pyproject.toml Bumps om1-modules git revision.
src/providers/asr_provider.py Adds info log when provider stops (observability).
src/inputs/plugins/google_asr.py Ensures ASR provider is stopped during plugin shutdown (cleanup).

Comment thread src/inputs/plugins/google_asr.py Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

❌ Patch coverage is 85.36585% with 18 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/providers/face_presence_provider.py 85.29% 10 Missing ⚠️
src/inputs/plugins/face_presence_input.py 16.66% 5 Missing ⚠️
src/inputs/plugins/google_asr.py 81.81% 2 Missing ⚠️
...c/actions/speak/connector/elevenlabs_people_tts.py 75.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

jerinpeter and others added 3 commits April 21, 2026 16:19
…nhance face presence detection with closest name identification
Add support for a closest_name field in PresenceSnapshot text output and update related tests and inputs to include the "Closest: <name>." suffix. Adjust tests in providers and TTS connector to use the new camera-format strings and update expected unknown counts. Also tidy imports and formatting in face_presence_provider and apply a minor whitespace cleanup in greeting_hook.py.
@github-actions github-actions Bot added the tests Test files label Apr 22, 2026
Introduce comprehensive tests for greeting_start_hook: add AsyncMock import, new mock_face_presence_provider fixture, and many test cases covering ElevenLabs, Kokoro, Riva providers, custom parameters, face detection variants, logging, error paths, and return value expectations. Update geeting_end_hook tests to assert and check return values, add additional error/state/logging scenarios and success checks. Also make small test cleanup in face_presence_provider tests (add type: ignore on prefer_recent assignments and remove separator comment). These changes increase coverage and validate success/failure return behavior for greeting hooks.
@openminddev openminddev merged commit 085906b into main Apr 22, 2026
5 checks passed
@openminddev openminddev deleted the update-modules branch April 22, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration files dependencies Pull requests that update a dependency file python Python code robotics Robotics code changes tests Test files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants