Refactor: UX 개선에 따른 도메인 규칙 수정#191
Merged
Merged
Conversation
Feat: 🎉 Staging서버 오픈 🎉
Fix: SSL 만료로 보이던 문제 원인 분석 및 구조 개선
Refactor: 생성 로직 보상트랜잭션 도입 및 서비스 분리
Hotfix: application-prod.yml cors 리스트 오타 수정
feat: Mongo delete outbox 전환 및 생성 보상 구조 정리
Updated team member roles and responsibilities in the README.
- Branch에 mergeTargetCommit 추적 필드 추가 - 브랜치 그래프 DTO/JPQL 조회 로직 반영 - 머지 서비스/오케스트레이터 시그니처 변경에 맞춰 테스트 수정 - test 프로필 기본값 보강으로 컨텍스트 로드 안정화
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.
🛰️ Issue Number
🪐 작업 내용
문서 작업 UX 개편에 맞춰 백엔드의 브랜치/저장/커밋/병합 흐름을 재정리했습니다.
기존에는 이어서 작업, 병합, 비교, 저장 삭제가 커밋 도메인과 save 삭제 흐름에 섞여 있었는데, 이번 변경으로 “브랜치 생성 + 작업장 save 유지” 흐름을 기준으로 정리했습니다.
커밋 생성 시 기존 save를 삭제하지 않도록 변경했습니다.
이어서 작업하기를 “브랜치 생성” 흐름으로 단순화했습니다.
createBranchOrSave성격의 흐름을 정리하고, 이어서 작업하기는 새 브랜치와 save를 생성하는 흐름으로 정리했습니다.CreateBranchOrSaveDocs를CreateBranchDocs로 정리했습니다.이제 병합은 새로운 브랜치를 생성합니다.
Branch에mergeTargetCommit을 추가했습니다.fromCommit, target commit은mergeTargetCommit으로 저장되도록 했습니다.BranchGraphDto에mergeTargetCommitId를 포함하도록 변경했습니다.GraphMapper,GetDocGraphDocs도 병합 브랜치 메타를 내려줄 수 있게 수정했습니다.root commit 삭제를 허용하도록 커밋 삭제 조건을 조정했습니다.
mergeTargetCommit으로 참조되는 커밋은 삭제할 수 없도록 검사를 추가했습니다.CommitRepository,CommitQueryService,CommitService,CommitErrorCode쪽 삭제 검증 흐름을 정리했습니다.비교용 조합 조회 API를 제거했습니다.
BlockDto를 제거하고 block 응답 구조를 단순화했습니다.BlockDto를 삭제했습니다.BlockService,BlockMapper,CreateCommitRequest,CommitMapper, 관련 테스트 DTO를 새 요청 구조에 맞게 정리했습니다.save 단독 삭제 API를 제거했습니다.
DELETE /api/document/{docId}/save/{saveId}엔드포인트를 제거했습니다.SaveService.deleteSave(),SaveQueryService.deleteSave(),deleteSaveContentById(),deleteSaveIfExists()를 제거했습니다.DeleteSaveDocsSwagger 문서를 삭제했습니다.SaveErrorCode에서 save 삭제 관련 에러코드를 제거했습니다.Branch.removeSave()를 제거해 브랜치에서 save만 떼어내는 우회 경로를 없앴습니다.save 제약을 강화했습니다.
Save.saveMongoId에nullable = false를 추가했습니다.Save.branch에optional = false,nullable = false,unique = true를 추가했습니다.테스트를 새 흐름에 맞춰 정리했습니다.
saveMongoId = null저장 실패 테스트를 추가했습니다.UX수정할겸 UI대격변했습니다. 이쁩니다
📚 Reference
✅ Check List