Conversation
📝 WalkthroughWalkthrough자기소개서 soft delete API( Changes자기소개서 Soft Delete 구현
Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
docs/api/cover-letters.md (1)
444-482:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winLLM Job 취소 문구를 현재 구현과 맞춰 주세요.
지금 문구는 삭제 시 진행 중인 LLM Job을
CANCELED로 전환한다고 적고 있는데, 바로 아래에는llm_jobspersistence가 아직 없어 연동이 후속 작업이라고도 되어 있습니다. 현재 구현 기준으로는deletedAt만 기록하는 쪽으로 명확히 적는 게 맞습니다.수정 예시
-삭제 시 `deletedAt`을 기록하고, 진행 중인 LLM Job이 있으면 `CANCELED`로 전환한다. +삭제 시 `deletedAt`을 기록한다. 진행 중인 LLM Job 취소 연동은 `llm_jobs` persistence가 준비된 뒤 후속 이슈에서 반영한다.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/api/cover-letters.md` around lines 444 - 482, The first paragraph of the deletion description states that ongoing LLM Jobs are converted to CANCELED status when a cover letter is deleted, but the final paragraph clarifies that llm_jobs persistence does not yet exist and this integration is a follow-up task. Remove or modify the reference to canceling LLM Jobs in the opening paragraph to accurately reflect the current implementation, which only records the deletedAt timestamp. Ensure the documentation clearly states what is currently implemented versus what will be added in future work.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@docs/api/cover-letters.md`:
- Around line 444-482: The first paragraph of the deletion description states
that ongoing LLM Jobs are converted to CANCELED status when a cover letter is
deleted, but the final paragraph clarifies that llm_jobs persistence does not
yet exist and this integration is a follow-up task. Remove or modify the
reference to canceling LLM Jobs in the opening paragraph to accurately reflect
the current implementation, which only records the deletedAt timestamp. Ensure
the documentation clearly states what is currently implemented versus what will
be added in future work.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 7f52ed81-8df0-4607-b964-aa317edab6b8
📒 Files selected for processing (10)
docs/api/README.mddocs/api/cover-letters.mddocs/status.mdsrc/main/java/com/daon/rewrite/coverletter/controller/CoverLetterController.javasrc/main/java/com/daon/rewrite/coverletter/dto/DeleteCoverLetterResponse.javasrc/main/java/com/daon/rewrite/coverletter/repository/CoverLetterRepository.javasrc/main/java/com/daon/rewrite/coverletter/service/CoverLetterService.javasrc/test/java/com/daon/rewrite/coverletter/controller/CoverLetterControllerTest.javasrc/test/java/com/daon/rewrite/coverletter/repository/CoverLetterRepositoryTest.javasrc/test/java/com/daon/rewrite/coverletter/service/CoverLetterServiceTest.java
작업 내용
DELETE /cover-letters/{coverLetterId}자기소개서 soft delete API를 구현했습니다.deletedAt과updatedAt을 기록하고, 삭제 응답 DTO로success/deletedAt을 반환합니다.NOT_FOUND로 응답합니다.결과 스크린샷
1. 기존에 존재하던 coverLetter 조회
totalItems = 8 이며, 1페이지 가장 상단 coverLetter id = "cl_4794327d-d746-470d-ac5b-69be2885b63e " 를 확인 가능

2. soft delete 진행 성공 결과 반환 확인
coverLetter id = "cl_4794327d-d746-470d-ac5b-69be2885b63e " soft delete 진행 성공 결과 반환 확인

3. soft delete 후 coverLetter 재조회
totalItems = 7 이며, 1페이지 가장 상단 coverLetter id != "cl_4794327d-d746-470d-ac5b-69be2885b63e " 확인

4. soft delete 후 동일 coverLetter id 로 재삭제 시도
404 Not Found 확인

관련 이슈
문서 반영
docs/api/README.mddocs/api/cover-letters.mddocs/status.md확인 결과
./gradlew test./gradlew checkgit diff --checkSummary by CodeRabbit
릴리스 노트
New Features
Documentation