fix: 썸네일 READY 상태와 오브젝트 키 정합성 보장 - #104
Merged
Merged
Conversation
hamtorygoals
approved these changes
Jul 17, 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.

📌 Summary
thumbnailStatus=READY인데thumbnailObjectKey가null또는 공백일 수 있었던 불일치를 제거합니다.기존 잘못된
READY데이터는 재시도 가능한FAILED로 정리하고, PostgreSQL 제약과 도메인 불변식으로 재발을 막습니다.썸네일 URL 발급 경로가 공통
hasUsableThumbnail()기준을 사용하도록 통일합니다.Closes [Fix] 썸네일 READY 상태와 오브젝트 키 정합성 보장 #103
✅ Tasks
Photo.markThumbnailReady()의 빈 키 입력을 거부READY행 정리 및 PostgreSQL check constraint 추가🔥 Troubleshooting
FAILED로 전환해 주기적 썸네일 재시도 대상이 되도록 처리했습니다.📸 API Test Results
./gradlew test,./gradlew check통과🔍 To Reviewer
READY행을 삭제하지 않고FAILED로 전환해 재시도시키는 정리 방식이 적절한지 검토 부탁드립니다.