[FEAT] 인수인계 상세 패키지 조회 API + 작성자 서술·타임라인 시작점 - #208
Merged
Conversation
- GET /api/handovers/{id}/package: 상세 화면용 리치 뷰(액션 타임라인·인계 패키지·회의 맥락)
노출. 기존 GET /{id}(단순 aggregate)와 별도 경로로 공존. GetHandoverPackageUseCase
REST 노출 + 스코프 게이트(assertCanRead) 재사용.
- 작성자 자유서술(note): 생성 요청·상세 응답 노출 (Flyway V7.7, handover.note).
Figma "담당 업무 및 인수인계 상세 설명" 저장소 = PDF 서술부 소스.
- 타임라인 막대 시작점(items[].startAt) = 액션 생성일 스냅샷 (Flyway V7.8,
handover_item.action_created_at_snap). 아웃포트 HandoverableAction.actionCreatedAt 추가.
⚠️ action 모듈 어댑터(ActionReassignAdapter) 1줄 배선 포함 — action 팀 확인 요망.
- 테스트: 패키지 엔드포인트 슬라이스 + note/startAt 검증 + 시그니처 반영. 전부 그린.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (23)
📝 WalkthroughWalkthrough인수인계 메모와 액션 생성 시각 스냅샷을 저장하도록 도메인과 영속 계층을 확장했습니다. 인수인계 패키지 조회 유스케이스와 Changes인수인계 메모 저장 흐름
액션 생성 시각 스냅샷
인수인계 패키지 조회 API
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
This was referenced Aug 8, 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.
개요
FE 인수인계 상세 화면(
/team/handover/:id) 연동을 위한 백엔드 3건. 전부 인수인계(E) 도메인 = 본인 소유이며,develop최신 위에 올렸습니다.변경
1. 🔴 상세 패키지 조회 —
GET /api/handovers/{id}/packageGET /{id}(단순 aggregate=HandoverResponse)는 그대로 두고, 완성돼 있던GetHandoverPackageUseCase를 별도 경로로 노출(경로 충돌 없음).assertCanRead: 본인/자기팀/회사)는 기존get()과 동일 재사용.2. 작성자 자유서술
note(FlywayV7.7)POST /api/handoversbody에note(선택, ≤5000자) 추가 → 상세 응답basicInfo.note/HandoverResponse.note로 반환.handover.note TEXT NULL. 기존 행 NULL.3. 타임라인 막대 시작점
startAt(FlywayV7.8)deadline(기존), 왼쪽 끝=액션 생성일(신규).handover_item.action_created_at_snap. 상세 응답items[].startAt(LocalDate).startAt때문에 공유 아웃포트ActionReassignPort.HandoverableAction에actionCreatedAt필드를 추가했고, 이를 구현하는action/infrastructure/adapter/ActionReassignAdapter.java에 1줄(action.getCreatedAt()) 배선했습니다. action 모듈 소유자 확인 부탁드립니다.마이그레이션 레인
develop이
V7.6(team_name_snap)까지 사용 → 이 PR은 V7.7 / V7.8 사용. (별건: 메터링 PR #207의 V7.6/V7.7은 develop V7.6과 충돌하므로 재번호 예정)검증
gradlew test --tests "com.module06.backend.handover.*" --tests "com.module06.backend.action.*" --tests "com.module06.backend.BackendApplicationTests"→ BUILD SUCCESSFUL (컨트롤러 슬라이스·패키지 서비스·도메인/서비스 + 컨텍스트 로드 시 Flyway V7.7/V7.8 H2 적용 포함).🤖 Generated with Claude Code
Summary by CodeRabbit