fix(challenge): 신규 유저 도전과제 빈 리스트 버그 수정#138
Open
windragon0807 wants to merge 1 commit into
Open
Conversation
- 쿼리 base를 tb_users_challenges → tb_challenge_stages로 전환 · LEFT JOIN으로 진척도만 부착, 신규 유저도 마스터 도전과제 노출 · ORDER BY tie-breaker 추가 + .distinct()로 페이징 결정성 확보 · EXISTS 서브쿼리에서 PK 직접 비교로 인덱스 활용 - 회원가입 이벤트 기반 초기화 로직 제거 (self-invocation으로 깨져있던 코드) - UserChallengeInitializer 신규: 첫 진척 액션 시 lazy-create - publishChallengeCheck/publishBulkChallengeCheck에 @transactional 추가 - GeneralChallengeDto에 (ChallengeStage, UserChallenge) null-safe 생성자 - ChallengeService.getRepetitiveChallengeDetail에서 빈 Map 가드 제거 - ChallengeApiTest에 신규 유저 시나리오 테스트 추가 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
auto-assign
Bot
requested review from
Dunn-Kim,
jryouda,
kstash,
sonjh919 and
yjkellyjoo
May 5, 2026 14:35
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.
설명
{{replace this}}
연관된 이슈: #{{이슈 번호}}
변경사항
{{replace this}}
변경의 종류 (여러 가지 선택 가능)
Author 체크리스트
Reviewer 체크리스트