Skip to content

fix(ai): 피드백 endReason 파싱 실패로 점수 미생성 버그 수정#98

Merged
i3months merged 1 commit into
devfrom
fix/feedback-end-reason-parse
Jun 4, 2026
Merged

fix(ai): 피드백 endReason 파싱 실패로 점수 미생성 버그 수정#98
i3months merged 1 commit into
devfrom
fix/feedback-end-reason-parse

Conversation

@i3months

@i3months i3months commented Jun 4, 2026

Copy link
Copy Markdown
Member

Core 가 질문 풀 소진 시 POOL_EXHAUSTED 사유로 세션을 종료하는데, AI 의 GenerateFeedbackRequest.end_reason 이 Literal["USER_REQUEST", "MAX_QUESTIONS_REACHED"] 라 envelope 파싱이 실패(→DLQ)해 피드백이 아예 생성되지 않았다(점수 안 뜸). end_reason 은 프롬프트 컨텍스트로만 쓰이므로
str|None 으로 풀어 향후 사유 추가에도 깨지지 않게 한다.

  • 회귀 테스트: POOL_EXHAUSTED 로도 피드백 생성되는지 검증.
  • Core SessionEndedEvent 주석에 POOL_EXHAUSTED 반영.

로그 근거: feedback.parse.failed (input_value='POOL_EXHAUSTED'), dlq.ai.generate.feedback 적체.

변경 사항

Core 가 질문 풀 소진 시 POOL_EXHAUSTED 사유로 세션을 종료하는데, AI 의
GenerateFeedbackRequest.end_reason 이 Literal["USER_REQUEST",
"MAX_QUESTIONS_REACHED"] 라 envelope 파싱이 실패(→DLQ)해 피드백이 아예
생성되지 않았다(점수 안 뜸). end_reason 은 프롬프트 컨텍스트로만 쓰이므로
str|None 으로 풀어 향후 사유 추가에도 깨지지 않게 한다.

- 회귀 테스트: POOL_EXHAUSTED 로도 피드백 생성되는지 검증.
- Core SessionEndedEvent 주석에 POOL_EXHAUSTED 반영.

로그 근거: feedback.parse.failed (input_value='POOL_EXHAUSTED'),
dlq.ai.generate.feedback 적체.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stackup Ready Ready Preview, Comment Jun 4, 2026 4:28pm

@i3months i3months merged commit a11ba2a into dev Jun 4, 2026
2 checks 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