fix(ai): 피드백 endReason 파싱 실패로 점수 미생성 버그 수정#98
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Core 가 질문 풀 소진 시 POOL_EXHAUSTED 사유로 세션을 종료하는데, AI 의 GenerateFeedbackRequest.end_reason 이 Literal["USER_REQUEST", "MAX_QUESTIONS_REACHED"] 라 envelope 파싱이 실패(→DLQ)해 피드백이 아예 생성되지 않았다(점수 안 뜸). end_reason 은 프롬프트 컨텍스트로만 쓰이므로
str|None 으로 풀어 향후 사유 추가에도 깨지지 않게 한다.
로그 근거: feedback.parse.failed (input_value='POOL_EXHAUSTED'), dlq.ai.generate.feedback 적체.
변경 사항