Skip to content

[fix] 주간 미션 KST 주차 경계 ServiceTime 변환 (#266 리뷰 반영)#268

Merged
Develop-KIM merged 1 commit into
developfrom
fix/mission-weekly-timezone
Jun 30, 2026
Merged

[fix] 주간 미션 KST 주차 경계 ServiceTime 변환 (#266 리뷰 반영)#268
Develop-KIM merged 1 commit into
developfrom
fix/mission-weekly-timezone

Conversation

@Develop-KIM

Copy link
Copy Markdown
Member

#266 코드리뷰(Codex) 반영 — 타임존 처리

  • P1 MissionScheduler: 연속주차 실패 판정이 KST 주차 경계를 변환 없이 UTC 서버 쿼리에 사용하던 문제 → ServiceTime.today() 기준 KST 주차 + startOfDayUtc 배타적 경계로 수정
  • P2 MissionQueryService: 주간 현황 from/to를 ServiceTime UTC로, completedAtServiceTime.toServiceDate(KST)로 변환 → 00:00~08:59 KST 완료분 누락/오표시 방지

기존 단위 테스트는 경계 인자에 any() 매처를 사용해 영향 없음. 빌드/테스트 통과.

🤖 Generated with Claude Code

코드리뷰(#266) 반영:
- MissionScheduler 연속주차 실패 판정: LocalDate.now()/raw 경계 →
  ServiceTime.today() KST 주차 + startOfDayUtc 배타적 경계로 쿼리
- MissionQueryService 주간 현황: from/to를 ServiceTime UTC로,
  completedAt은 toServiceDate(KST)로 변환해 00:00~08:59 KST 완료분 누락 방지

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Develop-KIM Develop-KIM merged commit 7230ce6 into develop Jun 30, 2026
1 check passed
@Develop-KIM Develop-KIM deleted the fix/mission-weekly-timezone branch June 30, 2026 06:55
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.

1 participant