Conversation
기획상 활동 지역은 중복 선택인데 단일 값으로만 받고 저장하던 문제를 수정한다. - 온보딩 요청 region(단일) -> regions(배열), 중복 제거 후 N건 저장 - 프로필 수정 요청·응답 location(단일) -> locations(배열) - 프로필 수정 시 첫 행만 갱신하던 것을 전체 교체로 변경 - 내 정보 조회 응답 region -> regions(배열) - 공개 프로필 조회 응답 location -> locations(배열)
- 공고 상세 writer.location(단일) -> writer.locations(배열) - 지원자 목록 applicant.location(단일) -> applicant.locations(배열) - 지원자 지역 배치 조회를 유저별 첫 행 선택에서 리스트 누적으로 변경 - 단건 조회로 대체된 LocationRepository.findFirstByUserIdAndRecruitmentIsNullOrderByIdAsc 제거
호출할 때마다 같은 결과가 나오던 추천 공고를 매번 다르게 노출한다. - 추천 조회 size 기본값 10 -> 4 - 매칭 점수 상위 공고를 풀로 받아 섞은 뒤 size 만큼 잘라 반환 - 풀 크기는 요청 개수의 5배, 최대 40으로 제한
UserService 충돌 해결. 양쪽이 getUserOrThrow 앞에 서로 다른 private 메서드를 추가해 발생한 위치 충돌이라 둘 다 유지했다. - HEAD: getUserRegions (활동 지역 다중 조회) - develop: 프로필 이미지 업로드 관련 헬퍼 (#125)
PREPARE/EXECUTE 문법은 MySQL 대화형 CLI에서는 작동하지만, Flyway에서는 Statement 컨텍스트 유지 실패로 인해 검증 오류 발생. CREATE INDEX IF NOT EXISTS로 대체하여 Flyway 호환성 개선. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
무작위 추출이라 직전 호출과 겹칠 수 있고, 대상 공고가 요청 개수 이하이면 항상 같은 조합이 반환된다. "호출마다 조합이 달라진다"는 표현이 구현보다 강해서 완화한다.
fix: 유저 활동 지역 다중화 및 추천 공고 노출 개선
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fix: db 마이그레이션 문제 해결
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
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.
🔗 관련 이슈 (Related Issue)
📝 작업 내용
develop브랜치를main에 병합해 운영에 배포합니다. 이 PR에서 새로 작성한 코드는 없고, 아래 PR들이 함께 나갑니다.✅ PR 체크리스트