Skip to content

hotfix: 영양사 페이지 이미지 다운로드 실패 수정 (develop)#2288

Merged
kongwoojin merged 5 commits into
developfrom
fix/2286-check-image-url-is-s3
Jun 10, 2026
Merged

hotfix: 영양사 페이지 이미지 다운로드 실패 수정 (develop)#2288
kongwoojin merged 5 commits into
developfrom
fix/2286-check-image-url-is-s3

Conversation

@kongwoojin

Copy link
Copy Markdown
Member

🔍 개요

  • 영양사 페이지 식단 이미지 다운로드 실패를 수정했습니다.

🚀 주요 변경 내용

  • 영양사 페이지에서 이미지 다운로드 시, image_url 에 저장된 이미지 주소 (https://static.koreatech.in/upload/COOP/연/월/일/이미지_경로.jpg) 를 가져와 extractS3KeyFrom()를 호출해 key 값을 가져오게 됩니다. 이 경우 key 값은 upload/COOP/연/월/일/이미지_경로.jpg가 됩니다.
  • 하지만, 천원의 아침 대표 이미지의 경우, image_urlhttps://static.koreatech.in/dining/천원의아침.png기 때문에, extractS3KeyFrom()를 호출 할 경우 dining/천원의아침.png를 key 값으로 파싱하게 되고, 이는 S3 상에 없는 key이기 때문에 Error Code: NoSuchKey;가 발생하게 됩니다.
  • 한글 인코딩 문제가 더 맞는 것 같습니다. 다른 경로에 업로드 되어 있었네요.
  • https://static.koreatech.in/dining/천원의아침.png에서 key 추출 후 dining/천원의아침.png가 아닌 dining/%EC%B2%9C%EC%9B%90%EC%9D%98%EC%95%84%EC%B9%A8.png를 반환하던 것이 문제 같습니다.

💬 참고 사항

  • 로컬 환경 구축 방법을 몰라서 테스트까지는 못했습니다. 나중에 알려주신다면 감사하겠습니다.

✅ Checklist (완료 조건)

  • 코드 스타일 가이드 준수
  • 테스트 코드 포함됨
  • Reviewers / Assignees / Labels 지정 완료
  • 보안 및 민감 정보 검증 (API 키, 환경 변수, 개인정보 등)

Summary by CodeRabbit

  • Bug Fixes
    • Improved dining image handling by refining the validation criteria used to filter image sources, ensuring only properly designated images are processed and downloaded.

@kongwoojin kongwoojin self-assigned this Jun 10, 2026
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@kongwoojin, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 12 minutes and 10 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a8ea68e6-d415-4782-ba69-d926a088a415

📥 Commits

Reviewing files that changed from the base of the PR and between d9e8c95 and 9dab4dc.

📒 Files selected for processing (1)
  • src/main/java/in/koreatech/koin/domain/coop/service/CoopService.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/2286-check-image-url-is-s3

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the 버그 정상적으로 동작하지 않는 문제상황입니다. label Jun 10, 2026
@github-actions github-actions Bot requested review from Soundbar91 and dh2906 June 10, 2026 08:03
@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown

Unit Test Results

671 tests   668 ✔️  1m 41s ⏱️
168 suites      3 💤
168 files        0

Results for commit 9dab4dc.

♻️ This comment has been updated with latest results.

@kongwoojin kongwoojin merged commit af4513d into develop Jun 10, 2026
6 checks passed
@kongwoojin kongwoojin deleted the fix/2286-check-image-url-is-s3 branch June 10, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

버그 정상적으로 동작하지 않는 문제상황입니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[공통] 영양사 페이지 이미지 다운로드 실패 수정

3 participants