Skip to content

refactor(verification): 인증 대상 복원·접근 확인의 독립 호출을 동시에 부른다 - #615

Merged
Sadturtleman merged 1 commit into
developfrom
refactor/609
Oct 8, 2026
Merged

Sadturtleman merged 1 commit into
developfrom
refactor/609

Conversation

@Sadturtleman

Copy link
Copy Markdown
Contributor

작업 내용

  • CheckVerificationAccessUseCase: 권한 스냅샷 캡처와 약관 동의 조회를 동시에 호출
  • RestoreVerificationTargetsUseCase: 챌린지별 상세·위치·화면 앱 조회를 Semaphore(4) 로 동시 4개까지 병렬화
    • 하나라도 실패하면 전체 실패하던 기존 동작 유지
    • 결과는 참여 목록 순서대로 한 곳에서 모아 반영 (공유 컬렉션 동시 접근 없음)
  • 테스트 추가: 챌린지 6개 복원 시 참여 목록 순서 유지

참고

  • 테스트 fake 가 suspend 하지 않아 동시 4개 제한 자체는 테스트로 검증하지 못함

Closes #609

🤖 Generated with Claude Code

- CheckVerificationAccessUseCase: 권한 스냅샷과 약관 동의 조회를 함께 받는다
- RestoreVerificationTargetsUseCase: 챌린지별 조회를 동시 4개 제한으로 병렬화한다. 모으기는 참여 목록 순서대로 한 곳에서 하고, 하나라도 실패하면 전체가 실패하는 동작은 그대로다

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

@Sadturtleman
Sadturtleman merged commit 5a6b53e into develop Oct 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

verification: 인증 대상 복원·접근 확인의 독립 호출을 async 로 병렬화

1 participant