-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor: 이미지 리사이징 도입 #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. """ Walkthrough이번 변경사항은 이미지 업로드 및 저장 로직에서 리사이즈된 이미지 URL을 사용하도록 서비스 계층을 수정하고, S3Service가 오리지널 및 리사이즈 버킷을 모두 지원하도록 구조를 변경했습니다. 일부 컨트롤러의 파라미터 명칭 및 반환문 포맷도 개선되었습니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Controller
participant Service
participant S3Service
participant S3OriginalBucket
participant S3ResizeBucket
Controller->>Service: 이미지 업로드 요청
Service->>S3Service: upload(type, refId, file)
S3Service->>S3OriginalBucket: 파일 업로드
S3Service->>S3Service: originalUrl, resizedUrl 생성
S3Service-->>Service: S3UploadResult(key, originalUrl, resizedUrl)
Service->>Service: 리사이즈 URL로 엔티티 저장
Service-->>Controller: 저장 결과 반환
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~15–20분 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 요약
Issue Link
#4
문제점 및 어려움
해결 방안
Reference
Summary by CodeRabbit
버그 수정
리팩터링