Conversation
hwistlezz
marked this pull request as ready for review
September 4, 2026 16:26
gichanGim
previously approved these changes
Sep 8, 2026
Comment on lines
+49
to
+60
| private MediaProjection loadProfileProjection(List<ImageReference> references) { | ||
| List<MediaImageRequest> requests = references.stream() | ||
| .filter(Objects::nonNull) | ||
| .map(ImageReference::assetId) | ||
| .filter(Objects::nonNull) | ||
| .map(assetId -> new MediaImageRequest(assetId, MediaImageRole.PROFILE_AVATAR)) | ||
| .distinct() | ||
| .toList(); | ||
| return requests.isEmpty() | ||
| ? MediaProjection.empty() | ||
| : new MediaProjection(mediaPort.findImages(requests)); | ||
| } |
Member
There was a problem hiding this comment.
MediaProjection / ProjectedImage / load*Projection 묶음이 이 PR에서 세 군데 더 늘었습니다. role만 다를 뿐 뼈대가 같은 구조를 여덟 개 클래스가 들고 있게 됐습니다.
READY 판정이나 role 매핑이 바뀌면 여덟 군데를 같이 고쳐야 하는데 백필 PR이 네 개 더
남아 있어서 계속 늘어날 것 같습니다. #191에도 같은 얘기를 남겼는데, 지금 media 쪽으로
빼두면 뒤 PR들이 가져다 쓰면 되지 않을까요?
gichanGim
force-pushed
the
feat/#192/profile-magazine-media
branch
from
September 9, 2026 00:25
be06cfa to
f2db721
Compare
hwistlezz
changed the base branch from
feat/#190/restaurant-menu-media
to
develop
September 16, 2026 15:01
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.
🔥 작업 내용 (What)
온보딩 프로필과 매거진 배너·썸네일에 새 이미지 asset 입력과 최적화 이미지 응답을 추가했습니다. 기존 key와 URL 필드는 전환 기간 동안 유지합니다.
🧩 변경 사항 (Details)
ImageReference를 전달하고, 응답을 만드는 Service에서 필요한 이미지를 한 번에 조회합니다.테스트
be06cfa기준으로 테스트 JVM에 UTC를 적용해 전체clean build를 실행했습니다. 테스트 432개 통과, 실패·오류·건너뛴 테스트 0개입니다.📸 스크린샷
화면 변경은 없습니다. 테스트 결과는 위 CI 링크에서 확인할 수 있습니다.
issuance_enabled=false를 유지하며, 실제 AWS 적용·운영 전환·backfill은 하지 않았습니다.🔗 관련 이슈
Closes #192
선행 PR: #191
✅ 체크리스트