Repository navigation
perf(auth): 가입은 바로 시키고 닉네임·사진 심사는 응답 뒤에 돌린다 - #365
Merged
Merged
Conversation
selee1012
force-pushed
the
fix/signup-moderation-async
branch
from
October 28, 2026 13:34
96c136b to
7d7d185
Compare
prod 가입 중앙값 ~1.0초 중 ~0.88초가 Gemini 닉네임 심사 대기였다(X-Ray 1-6ae1aa8f). 가입 응답은 등록 직후 상태(PENDING)로 바로 내리고, 심사는 서버 안 작은 대기열에서 돈다. 심사 중엔 본인에게 입력 닉네임·타인에게 임시 닉네임이 보이고, 거절되면 임시 닉네임과 거절 알림이 남는다(기존 거절 경로 그대로). 대기열이 넘치거나 태스크가 내려가 놓친 건 05:00 PENDING 스캔이 다시 집는다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
selee1012
force-pushed
the
fix/signup-moderation-async
branch
from
October 28, 2026 13:35
7d7d185 to
1455e41
Compare
Test Coverage
|
Test Coverage
|
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.
무엇
가입은 바로 응답하고, 닉네임·사진 심사는 응답 뒤에 서버 안 작은 대기열에서 돌린다.
왜
prod 가입 중앙값 ~1.0초 중 ~0.88초가 Gemini 닉네임 심사 대기였다(X-Ray
1-6ae1aa8f-...: DB 처리 ~66ms → Gemini 881ms → 커밋). 추론(thinking)은 이미 꺼져 있어 서버 쪽에서 더 줄일 수 없는 외부 왕복이다.동작
nicknameStatus=PENDING)로 바로 내린다. 본인에게는 입력 닉네임, 타인에게는 임시 닉네임이 보인다(기존 PENDING 노출 규칙 그대로).MODERATION_REJECTED알림(기존 거절 경로 그대로).docs/auth/onboarding-spec-alignment.md의 「동기로 실행」 문구를 바꿨다.테스트
OnboardingSpecIT「가입은 심사 전에 응답하고 결과는 뒤에 반영된다」: 심사를 막은 채 가입 200·PENDING, 풀어 주면 APPROVED·approved_nickname 반영ExternalCallConnectionIT: 뒤 심사 중에도 DB 커넥션을 쥐지 않음signup()헬퍼는 뒤 심사가 끝나길 기다린다(승인된 닉네임·조용한 SQL 을 전제하는 테스트 3건이 경합으로 깨졌던 것)CheatDetectionIT1건만 실패 — 이 변경이 없는 dev(d5069eb)에서도 똑같이 실패하는 기존 문제(누적 점수 기대 0·실제 10)🤖 Generated with Claude Code