Repository navigation
feat: stg 부하테스트 준비 — 로그인 우회 스위치·AI 초안 한도 설정값 - #323
Merged
Merged
Conversation
실제 인가 코드는 1회용이라 로그인 부하를 줄 수 없다. OAUTH_LOAD_TEST_ENABLED=true(prod 프로파일엔 빈이 없다)일 때 code 가 loadtest- 로 시작하고 codeVerifier 가 DEV_TOKEN_SECRET 과 같은 요청만 IdP 호출을 건너뛰고, 그 뒤 실제 로그인 트랜잭션은 그대로 탄다. 다른 요청은 켜 둔 동안에도 실제 IdP 로 간다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
app.challenge.draft.rate-limit-per-minute(기본 10). 부하테스트 동안 stg 에서만 올린다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
부하·성능 테스트를 시작하기 전에 stg에 먼저 배포해야 하는 준비 코드입니다. 테스트에서 찾은 수정은 별도의 PR 1개로 올립니다.
변경
LoadTestOAuthGate): 실제 구글·카카오 인가 코드는 1회용이라 같은 로그인을 반복할 수 없어서, 부하테스트 요청만 IdP 호출을 건너뛰게 합니다. 그 뒤의 실제 로그인 트랜잭션(제재 확인, 행 잠금, 활동 기록, 소셜 토큰, 리프레시 토큰 발급)은 그대로 탑니다.@Profile("!prod")이고OAUTH_LOAD_TEST_ENABLED=true일 때만 빈이 생깁니다. 비밀값(DEV_TOKEN_SECRET)이 없으면 기동에서 실패합니다.code가loadtest-로 시작codeVerifier가DEV_TOKEN_SECRET과 일치app.challenge.draft.rate-limit-per-minute(기본 10). 테스트 동안 stg에서만 올립니다.시험
LoadTestOAuthGateTestRecommendationRateLimiterTest통과🤖 Generated with Claude Code