feat: 피드백 생성 실패 SSE 수신 시 즉시 복구 UI 전환 - #207
Merged
Merged
Conversation
세션 채널 ERROR(scope=FEEDBACK, SessionErrorNotice) 를 useFeedbackLive 가 구독해 실패 수신 즉시 폴링 예산(≈2분) 소진을 기다리지 않고 재생성 복구 UI 를 연다. retriable=false(서버가 재시도 무의미 명시)면 재생성 버튼 대신 새 면접 안내. scope 필터로 꼬리질문 실패 이벤트는 무시. 테스트 3건 추가.
This was referenced Aug 22, 2026
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.
변경 사항
PR #206 후속(프론트 소비 측). AI 가 피드백 생성 실패 시 발행하는 SSE
ERROR(scope=FEEDBACK,SessionErrorNotice—docs/event-stream.md§3.6) 를 피드백 대기 화면이 소비한다.useFeedbackLive: 세션 채널ERROR구독 추가 —scope !== 'FEEDBACK'(꼬리질문 실패 등) 은 무시, 수신 시failure상태 설정.resetFailure로 재생성 요청 시 대기 상태 복귀.SessionFeedbackPage: 실패 수신 즉시 폴링 예산(≈2분) 소진을 기다리지 않고 재생성 복구 UI 로 전환. 서버 정의 사용자 문구(failure.message) 표시.retriable=false면 재생성 버튼 대신 새 면접(다시 도전) 안내. 늦게 데이터가 도착한 레이스는 리포트가 우선.검증
npm run test169 passed (+3: scope=FEEDBACK 수신, 타 scope 무시, resetFailure)npm run build·npm run lint통과