Repository navigation
fix/interview-response-persona - #109
Merged
Merged
Conversation
InterviewResponse에 persona { id, personaName, personaRole, type, level, tone, imageUrl }를 더한다.
1:1은 그 면접의 면접관, N:1은 진행 순서 맨 앞 면접관, 없으면 null. 이름은 저장값 그대로다.
목록 조회는 N:1 명단과 면접관을 면접마다 읽지 않고 한 번에 읽는다.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
2-dayeon
approved these changes
Oct 19, 2026
danjee2009
commented
Oct 19, 2026
danjee2009
left a comment
Member
Author
There was a problem hiding this comment.
면접 생성·조회 응답의 대표 면접관 처리와 목록 조회의 일괄 로딩을 검토했습니다. 기존 응답 필드를 유지하면서 SOLO·MULTI 대표 면접관을 일관되게 추가하고, 삭제되거나 없는 면접관도 null로 처리합니다. 확인된 실질적 문제는 없습니다. PR 설명의 로컬 테스트 결과는 확인했으며, 게시 시점에 원격 CI는 아직 진행 중입니다.
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.
무엇을
InterviewResponse에 대표 면접관persona를 추가합니다.{ id, personaName, personaRole, type, level, tone, imageUrl }(personaRole·type·level·tone은 enum 이름)interview.personaId의 면접관. MULTI:persona_order가 가장 앞선 면접관. 없거나 지워졌으면null-{uuid}접미사는 Web이 떼어 냅니다.GET목록(getAllInterviewsByUserId)은 N:1 명단(findAllByInterviewIdIn…)과 면접관(findAllById)을 한 번씩만 읽습니다. 이전에는 MULTI 면접마다 명단을 따로 조회했습니다.getInterviewById)과 생성 응답(SOLO·MULTI)에도 같은 규칙으로persona를 넣습니다. 생성 응답은 이미 읽어 둔 엔티티를 쓰므로 쿼리가 늘지 않습니다.왜
웹 피드백 목록·상세는
interview.persona에서 성향·난이도·면접관 이름을 읽는데, API 응답에 이 객체가 없었습니다. 그래서 난이도는 "미제공", 면접관은 "면접관 1명"으로 나왔고, 성향은 피드백이 있을 때만 보였습니다. (수정 계획Doc/면접완료-피드백-수정계획-2026-10-19.md2-5 API)계약 변경
InterviewResponse에persona필드만 추가했습니다(하위 호환). 기존personaId·personaIds는 그대로입니다.persona.personaName을 우선 표시하고persona.career로 난이도를 읽습니다. 이 PR만 먼저 배포되면 MULTI 목록에 맨 앞 면접관의 원본 이름(TECH-<uuid>등)이 보일 수 있습니다. 계획대로 Web PR(fix/interview-complete-feedback-display)과 함께 반영해 주세요.테스트
./gradlew test통과 (830개, 실패 0, 로컬 Postgres)InterviewServicePersonaTest: SOLO·MULTI(맨 앞 면접관)·면접관 없음(SOLO personaId 없음, MULTI 명단 비어 있음)·면접관 삭제 각각의persona값. 목록 조회에서findAllById1회,findById·면접별 명단 조회 0회. 대표 면접관이 없으면 조회하지 않음InterviewResponseSerializationTest: JSON 키 7개와 값, 면접관이 없을 때"persona": null기준 커밋:
origin/mainbe77bb4🤖 Generated with Claude Code
2026-10-19 통합 검증
API #106 병합 후 main을 통합하고, 새 기업 계약 테스트의 InterviewResponse 생성자를 persona 필드에 맞췄습니다(d27e93f). 전체 884개 통과. 자동 운영 배포 워크플로는 기존 로컬 검증 방침에 따라 비활성화 상태입니다.