Skip to content

멘토링 신청 로직 변경#72

Merged
cfcromn merged 1 commit intodevelopfrom
fix/find-mentor
Dec 29, 2025
Merged

멘토링 신청 로직 변경#72
cfcromn merged 1 commit intodevelopfrom
fix/find-mentor

Conversation

@cfcromn
Copy link
Collaborator

@cfcromn cfcromn commented Dec 29, 2025

💡 배경 및 개요

채팅방이 닫히고 난 후 다시 멘토링 신청할 수 있게 수정했습니다

Resolves: #{이슈번호}

📃 작업내용

멘토링 신청 로직 변경

🙋‍♂️ 리뷰노트

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

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

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

✅ PR 체크리스트

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

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

🎸 기타

@cfcromn cfcromn requested a review from hej090224 December 29, 2025 13:23
@cfcromn cfcromn self-assigned this Dec 29, 2025
@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은 멘토링 신청 시스템의 핵심 로직을 개선하여, 멘티가 이전에 멘토링을 완료했거나 채팅방이 종료된 후에도 동일한 멘토에게 다시 멘토링을 신청할 수 있도록 합니다. 이는 사용자 경험을 향상시키고 멘토링 관계의 연속성을 지원하기 위한 변경입니다.

Highlights

  • 멘토링 재신청 허용: 채팅방이 닫힌 후 멘티가 멘토에게 다시 멘토링을 신청할 수 있도록 로직이 변경되었습니다.
  • 신청 상태 확인 로직 수정: 기존에는 멘티가 멘토에게 '대기 중'이거나 '수락됨' 상태의 신청이 있을 경우 재신청이 불가능했지만, 이제는 '대기 중' 상태의 신청이 있을 경우에만 재신청이 제한됩니다.
  • Repository 메서드 시그니처 변경: ApplyRepository에서 existsByMenteeIdAndMentorIdAndApplyStatusIn 메서드가 단일 ApplyStatus를 받도록 existsByMenteeIdAndMentorIdAndApplyStatus로 변경되었습니다.
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.

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

안녕하세요. 멘토링 신청 로직 변경에 대한 리뷰입니다. 채팅방이 닫힌 후 다시 멘토링을 신청할 수 있도록, 기존에 PENDING 또는 ACCEPTED 상태의 신청이 있는지 확인하던 로직을 PENDING 상태만 확인하도록 변경하신 것을 확인했습니다. 이 변경으로 인해 이전에 수락되었던 멘토링이 끝난 후에도 새로운 신청이 가능해져 사용성이 개선될 것으로 보입니다. 코드 변경 자체는 명확하고 의도에 부합합니다. 다만, 동시에 멘토링 신청이 들어올 경우 발생할 수 있는 경쟁 상태(race condition)에 대한 검토가 필요해 보입니다. 자세한 내용은 아래 주석을 참고해주세요.

@cfcromn cfcromn merged commit c53fd80 into develop Dec 29, 2025
1 check passed
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.

2 participants