Skip to content

GAMI-Server V1.4.5 배포#63

Merged
cfcromn merged 7 commits intomasterfrom
develop
Dec 27, 2025
Merged

GAMI-Server V1.4.5 배포#63
cfcromn merged 7 commits intomasterfrom
develop

Conversation

@cfcromn
Copy link
Collaborator

@cfcromn cfcromn commented Dec 27, 2025

💡 배경 및 개요

GAMI-Server V1.4.5 배포

📃 작업내용

GAMI-Server V1.4.5 배포

🙋‍♂️ 리뷰노트

구현 시에 고민이었던 점들 혹은 특정 부분에 대한 의도가 있었다면 PR 리뷰의 이해를 돕기 위해 서술해주세요!

또한 리뷰어에게 특정 부분에 대한 집중 혹은 코멘트 혹은 질문을 요청하는 경우에 작성하면 좋아요!

e.g. 작업을 끝내야할 시간이 얼마 없어 확장성보다는 동작을 위주로 만들었어요! 감안하고 리뷰해주세요!

✅ PR 체크리스트

템플릿 체크리스트 말고도 추가적으로 필요한 체크리스트는 추가해주세요!

  • 이 작업으로 인해 변경이 필요한 문서가 변경되었나요? (e.g. .env, 노션, README)
  • 이 작업을 하고나서 공유해야할 팀원들에게 공유되었나요? (e.g. "API 개발 완료됐어요", "환경값 추가되었어요")
  • 작업한 코드가 정상적으로 동작하나요?
  • Merge 대상 브랜치가 올바른가요?
  • PR과 관련 없는 작업이 있지는 않나요?

🎸 기타

@gemini-code-assist
Copy link

Summary of Changes

Hello @cfcromn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 관리자 신고 시스템과 채팅 기능에 대한 개선 사항을 도입합니다. 신고 기능의 경우, 관리자 응답에 더 상세한 정보를 제공하고 데이터 조회 성능을 최적화합니다. 채팅 기능의 경우, 채팅방에 lastMessageAt 타임스탬프를 추가하여 최근 활동을 기준으로 정렬할 수 있게 하고, 새로운 메시지가 전송될 때마다 이 타임스탬프가 정확히 업데이트되도록 합니다.

Highlights

  • 관리자 신고 상세 정보 개선: AdminReportResponse DTO에 신고 결과, 신고자 이름, 신고된 게시물 ID 필드가 추가되어 관리자 페이지에서 더 풍부한 신고 정보를 확인할 수 있게 되었습니다.
  • 신고 목록 조회 성능 최적화: AdminReportListServiceImpl에서 N+1 문제를 방지하기 위해 ReportRepository에 새로운 findAllWithReporterAndPost 메서드를 추가하여 신고자와 게시물 정보를 한 번의 쿼리로 함께 가져오도록 변경되었습니다.
  • 채팅방 마지막 메시지 시간 기록: ChatRoom 엔티티에 lastMessageAt 필드가 추가되어 각 채팅방의 마지막 메시지 전송 시간을 추적할 수 있게 되었으며, updateLastMessage 메서드가 이 시간을 업데이트하도록 수정되었습니다.
  • 채팅방 목록 정렬 기능 추가: ChatRoomRepository의 findAllByMentorIdOrMenteeId 메서드가 lastMessageAt 필드를 기준으로 최신순으로 채팅방 목록을 정렬하도록 커스텀 쿼리가 적용되었습니다.
  • 채팅 메시지 전송 시 시간 업데이트: ChatMessageServiceImpl에서 새로운 메시지 전송 시 ChatRoom의 lastMessageAt 필드를 메시지의 생성 시간으로 정확히 업데이트하도록 로직이 수정되었습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@cfcromn cfcromn merged commit 74d7446 into master Dec 27, 2025
2 checks passed
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

GAMI-서버 V1.4.5 배포를 위한 코드 변경사항을 검토했습니다. 전반적으로 코드 변경은 잘 이루어졌습니다. 관리자 신고 목록 조회 시 발생할 수 있는 N+1 문제를 JOIN FETCH를 사용하여 해결한 점과, 채팅방 목록을 마지막 메시지 시간 순으로 정렬하는 기능을 추가한 점이 인상적입니다. 다만, 채팅방 목록 조회 쿼리에서 성능 문제를 유발할 수 있는 N+1 문제가 발견되어 수정을 제안했습니다. 자세한 내용은 아래 주석을 확인해주세요.

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.

2 participants