Skip to content

v2.3.3: fix infinite recursion in _check_stt_quality - #33

Merged
red-avtovo merged 2 commits into
mainfrom
fix/stt-quality-infinite-recursion
Aug 28, 2026
Merged

red-avtovo merged 2 commits into
mainfrom
fix/stt-quality-infinite-recursion

Conversation

@red-avtovo

@red-avtovo red-avtovo commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • _check_stt_quality called itself unconditionally instead of delegating to assert_segments_acceptable from stt_hallucination.py, causing a RecursionError on every STT transcription job
  • Hardened all DB column migrations with a _ensure_column() helper that also guards the ALTER TABLE against duplicate-column races (surfaced as intermittent test failures when two fixtures initialised the same DB concurrently)

Test plan

  • Confirm redubbing a video completes without RecursionError: maximum recursion depth exceeded
  • Full backend test suite: 452 passed locally after this fix

Storybook preview

Updated for commit 2e38f44.

The wrapper called itself instead of assert_segments_acceptable,
causing RecursionError on every STT transcription job.

Also harden DB migrations: _ensure_column() catches duplicate-column
races that surfaced as intermittent test failures.
@red-avtovo
red-avtovo merged commit 91abd8e into main Aug 28, 2026
7 checks passed
@red-avtovo
red-avtovo deleted the fix/stt-quality-infinite-recursion branch August 28, 2026 12:52
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