Commit a437eef
committed
Merge branch 'dev' into feature/sprint1-leftovers-us02-03-04-08
origin/dev 동료(서현) PR #31 (feat(session): 면접 세션 도메인 + Core/AI 메시지 DTO) 흡수.
충돌 해결 원칙: 내 풀스택 동작 코드 유지, 동료의 좋은 부분만 흡수.
- DTO 4개 (GenerateQuestionsPayload, GenerateFollowupPayload,
QuestionsCallbackPayload, QuestionsCallbackEnvelope): 동료 것은 미사용
데드코드 (Service 없음). 내 풀스택 동작 코드 채택.
- InterviewSession: 내 `start/end/interrupt/cancel/updateTitleAndMemo` 유지,
동료의 `isMaxReached()` 흡수.
- InterviewMessage: 내 `interviewer(no parent) / followup(with parent) /
interviewee(with parent + idempotencyKey)` 시그니처 유지, 동료의
null/blank/sequence 검증 로직을 단일 생성자에 흡수.
- InterviewMessageRepository: 내 메서드 + 동료의 `findMaxSequenceBySessionId` 흡수.
- InterviewSessionRepository, SessionContextRepository: 내 메서드 유지
(동료 메서드는 미사용 + 필드명 부정확).
- 동료의 도메인 테스트 3개 (InterviewSessionTest, InterviewMessageTest,
QuestionsCallbackPayloadTest): 시그니처·스키마가 내 코드와 호환 불가,
내 SessionServiceTest/InterviewMessageServiceTest/QuestionsCallbackServiceTest
가 같은 영역을 서비스 레이어에서 커버하므로 제거.3 files changed
Lines changed: 28 additions & 4 deletions
File tree
- backend/src/main/java/com/stackup/stackup/session/domain
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
71 | 80 | | |
72 | 81 | | |
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
| 85 | + | |
76 | 86 | | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
80 | | - | |
| 90 | + | |
| 91 | + | |
81 | 92 | | |
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
85 | | - | |
| 96 | + | |
| 97 | + | |
86 | 98 | | |
87 | 99 | | |
88 | 100 | | |
89 | 101 | | |
90 | | - | |
| 102 | + | |
| 103 | + | |
91 | 104 | | |
92 | 105 | | |
93 | 106 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| |||
0 commit comments