Skip to content

Conversation

@yongjun0511
Copy link
Collaborator

@yongjun0511 yongjun0511 commented Sep 4, 2025

🌱 관련 이슈


📌 작업 내용 및 특이사항

  • 앨범에 이미지에 대한 용량을 추적하도록 수정했습니다.
  • presignedUrl 생성시 imageId들을 반환하도록 기능을 추가했습니다.
  • 위의 수정사항으로 인해 앨범 이미지 삭제로 업로드 실패한 이미지 또한 삭제할 수 있도록 했습니다. ( 기존 실패한 이미지 삭제 로직은 제거)

@yongjun0511 yongjun0511 requested a review from ht3064 as a code owner September 4, 2025 12:33
@yongjun0511 yongjun0511 linked an issue Sep 4, 2025 that may be closed by this pull request
@yongjun0511 yongjun0511 self-assigned this Sep 4, 2025
Comment on lines +110 to +113
BigDecimal uploadCapacity =
request.payloads().stream()
.map(AlbumFileUploadRequest.Payload::capacity)
.reduce(BigDecimal.ZERO, BigDecimal::add);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

용량 계산 전에 앨범 참가자 검증을 먼저 해도 괜찮을 것 같아요

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영했습니다!

Copy link
Collaborator

@ht3064 ht3064 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 4, 2025

@yongjun0511 yongjun0511 merged commit 61638ea into develop Sep 4, 2025
2 checks passed
@yongjun0511 yongjun0511 deleted the fix/195-album-capacity branch September 4, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 앨범 용량 관련 로직 추가

3 participants