Project

General

Profile

Actions

결함 #510

open

[버그][P1] 번역·발음 생성이 빈 문자열 반환 → retry 무력화 + 빈 번역을 success로 저장

Added by joungmin ko about 2 months ago. Updated about 2 months ago.

Status:
해결
Priority:
높음
Assignee:
-
Start date:
06/27/2026
Due date:
% Done:

100%

Estimated time:

Description

lyrics_translator.py:564,582 _translate_lyrics_async/_generate_pronunciation_async가 전체 실패 시 None이 아닌 '\n\n…'(개행만) 문자열 반환.
→ ① _retry_once는 None일 때만 재시도하므로 번역/발음은 전체 실패 시 재시도 안 됨, ② if not translated(741)가 truthy로 통과해 빈 번역 저장+success, ③ partial=False 오보고.
수정: all_results 비었거나 결과가 공백뿐이면 None 반환.

— 6-페르소나 코드리뷰(2026-06-27)에서 도출. 소스 검증 완료. [AI 등록]

Actions

Also available in: Atom PDF