Skip to content

[TWI-105] fix: 이미 기념일이 등록되었으나, 기념일 등록이 스킵되지 않는 버그 수정#101

Merged
clxxrlove merged 1 commit into
devfrom
twi-105
May 30, 2026
Merged

[TWI-105] fix: 이미 기념일이 등록되었으나, 기념일 등록이 스킵되지 않는 버그 수정#101
clxxrlove merged 1 commit into
devfrom
twi-105

Conversation

@clxxrlove

Copy link
Copy Markdown
Member

#️⃣ 관련 이슈

💻 작업 내용

  • OnboardingService.setAnniversary()
    • 기존: 기념일 등록자 본인만 ANNIVERSARY_SETUP -> COMPLETED
    • 변경: 커플 양쪽 사용자 ID를 대상으로 repository bulk update 호출
  • OnboardingInfoRepository
    • completeAnniversarySetupByUserIds(userIds) 추가
  • OnboardingJpaRepository
    • 단일 조건부 JPQL bulk update 추가:
      • userId IN (...)
      • 현재 상태가 ANNIVERSARY_SETUP인 경우만
      • status = COMPLETED
      • completedAt, updatedAt 갱신
  • OnboardingServiceTest 신규 추가
    • 양쪽 모두 ANNIVERSARY_SETUP이면 둘 다 완료
    • 상대가 PROFILE_SETUP이면 강제 완료하지 않음
    • 이미 COMPLETED인 사용자는 예외 없이 스킵
    • 기념일이 이미 있으면 이후 프로필 설정 시 완료되는 기존 동작 보장

@clxxrlove clxxrlove requested a review from dkswnkk May 28, 2026 12:39
@clxxrlove clxxrlove self-assigned this May 28, 2026
@linear

linear Bot commented May 28, 2026

Copy link
Copy Markdown

TWI-105

@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown

Test Results

 22 files  +1   22 suites  +1   7s ⏱️ -1s
118 tests +4  118 ✅ +4  0 💤 ±0  0 ❌ ±0 
130 runs  +4  130 ✅ +4  0 💤 ±0  0 ❌ ±0 

Results for commit 2c9f34f. ± Comparison against base commit 832e6d6.

♻️ This comment has been updated with latest results.

@clxxrlove clxxrlove merged commit c94cd1a into dev May 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant