Skip to content

fix: AI 문제 생성 실패 처리 개선 - #44

Merged
s26059-maker merged 1 commit into
developfrom
fix/ai-generation-failure-handling
Oct 12, 2026
Merged

s26059-maker merged 1 commit into
developfrom
fix/ai-generation-failure-handling

Conversation

@s26059-maker

Copy link
Copy Markdown
Contributor
  • 재시도 불가 에러(크레딧 소진 429, 401)는 즉시 포기하고 남은 조합도 중단
    • 건너뛴 조합은 실패 항목으로 채워 회차당 로그 9건 유지
  • 전체 실패여도 비활성 회차로 저장하고 실패 로그를 남김
    • 같은 날 재트리거 시 빈 비활성 회차 재사용, 이전 로그는 유지
    • skipped 응답에 failureCount 포함
  • 빈 실패 회차가 다른 로직에 섞이지 않게 "문제 있는 회차" 기준으로 조회 변경
    • 토픽 로테이션, TopicService 폴백, 랭킹 배치, 회차 피드백

- 재시도 불가 에러(크레딧 소진 429, 401)는 즉시 포기하고 남은 조합도 중단
  - 건너뛴 조합은 실패 항목으로 채워 회차당 로그 9건 유지
- 전체 실패여도 비활성 회차로 저장하고 실패 로그를 남김
  - 같은 날 재트리거 시 빈 비활성 회차 재사용, 이전 로그는 유지
  - skipped 응답에 failureCount 포함
- 빈 실패 회차가 다른 로직에 섞이지 않게 "문제 있는 회차" 기준으로 조회 변경
  - 토픽 로테이션, TopicService 폴백, 랭킹 배치, 회차 피드백
@s26059-maker
s26059-maker requested a review from Ims2oha October 7, 2026 12:01
@s26059-maker
s26059-maker merged commit 7395c7f into develop Oct 12, 2026
1 check passed
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