Closed github-actions[bot] closed 1 week ago
48 files 48 suites 8s :stopwatch: 149 tests 145 :white_check_mark: 4 :zzz: 0 :x: 158 runs 154 :white_check_mark: 4 :zzz: 0 :x:
Results for commit 7468e55b.
:recycle: This comment has been updated with latest results.
📌 관련 이슈
✨ PR 세부 내용
현재 정책 상 참여자 중 PR을 제출하지 않은 사람은 매칭에서 제외되고 있습니다. =
MatchResult
가 존재하지 않습니다.그런데
findParticipants
로 같은 방에 참여 중인 다른 사람 리스트를 불러올 때, 해당 방에 참여한 기록(=participation
)이 존재하는 사람이라면 무조건matchResult
를 확인하여 내용을 반환하고 있더라고요.이 과정에서 PR을 제출하지 않은 사람(=
participation
은 존재하지만matchResult
가 없음)의 경우orElseThrow
에서MEMBER_NOT_FOUND
를 반환하기 때문에참여자 랜덤 리스트에 저 사람이 디스플레이 되어야 하는 사용자는
MEMBER_NOT_FOUND
와 함께 방 접근 자체가 터져버리게 됩니다.따라서 모든
participation
을 가져오는 대신MatchResult
없음)위 조건을 만족하는 사람들만 리스트로 넘겨주도록 로직 수정했습니다.