Skip to content

[codex] Stabilize Modulate STT unit tests on Windows#7942

Open
tianmind-studio wants to merge 1 commit into
BasedHardware:mainfrom
tianmind-studio:codex/windows-modulate-websockets-stub
Open

[codex] Stabilize Modulate STT unit tests on Windows#7942
tianmind-studio wants to merge 1 commit into
BasedHardware:mainfrom
tianmind-studio:codex/windows-modulate-websockets-stub

Conversation

@tianmind-studio

Copy link
Copy Markdown
Contributor

Summary

  • Stub optional import-time dependencies in test_modulate_stt.py so it can collect in lightweight Windows backend environments without installing the full service stack.
  • Keep Modulate drain-ordering tests focused on send/EOS behavior instead of waiting for provider done messages.
  • Update prerecorded STT tests to patch the current stt_prerecorded_models list and pass the configured Parakeet WebSocket auth header.

Validation

  • python -m pytest backend/tests/unit/test_modulate_stt.py -q --tb=short -> 91 passed
  • python -m pytest backend/tests/unit/test_action_item_date_validation.py backend/tests/unit/test_modulate_stt.py -q --tb=short -> 117 passed
  • black --check --line-length 120 --skip-string-normalization backend/tests/unit/test_modulate_stt.py backend/utils/stt/streaming.py
  • python -m py_compile backend/tests/unit/test_modulate_stt.py backend/utils/stt/streaming.py
  • git diff --check
  • scripts/pre-commit

Stub optional import-time dependencies so test_modulate_stt can collect in lightweight Windows backend environments.

Keep drain ordering tests from waiting for provider done messages, update prerecorded model patches to the current list setting, and pass the configured Parakeet WebSocket auth header.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant