Skip to content

[BUG] 애플 캘린더 반복 공휴일(RRULE) 누락 버그 해결 및 전체 연도 동기화 적용 - #286

Merged
hoondongseo merged 1 commit into
developfrom
bug/simon/285-fix-missing-holidays
Aug 16, 2026
Merged

[BUG] 애플 캘린더 반복 공휴일(RRULE) 누락 버그 해결 및 전체 연도 동기화 적용#286
hoondongseo merged 1 commit into
developfrom
bug/simon/285-fix-missing-holidays

Conversation

@hoondongseo

@hoondongseo hoondongseo commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

🔗 이슈 번호

#️⃣ 기능 설명

  • 2026년 이후의 공휴일이 누락되는 문제(RRULE 미전개)를 해결하고, 과거에 삭제(Soft Delete)된 공휴일이 스케줄러에 의해 무한 증식되는 버그를 원천 차단했습니다.
  • 외부 API 호출 딜레이 없이 달력을 넘길 때마다 즉시 공휴일이 조회될 수 있도록 시스템 전체 지원 범위의 공휴일을 한 번에 펼쳐서 사전 적재(Zero Blocking)합니다.

📌 작업 내용

  • HolidaySyncService: ical4jcalculateRecurrenceSet을 활용해 1970~2100년 범위의 RRULE 반복 일정을 모두 단일 날짜로 전개하여 파싱
  • HolidaySyncService: 연도별로 쪼개진 공휴일이 DB 제약조건에 걸리지 않도록 고유 식별자 발급 로직 추가 (UID + 연도)
  • EventsRepository: existsHolidayByExternalEventId 메서드에 Native Query를 적용하여, Hibernate의 @SQLRestriction(deleted_at IS NULL)을 우회하고 Soft Delete된 데이터까지 완벽하게 중복 검증하도록 수정

✅ 체크리스트

  • Assignees, Labels를 모두 지정했나요?
  • GitHub Copilot의 자동 코드 리뷰 제안을 검토하고 필요한 부분을 반영했나요?
  • PR 머지 전 빌드 및 CI가 정상 작동하는지 확인했나요?

📸 스크린샷 (선택)

@hoondongseo hoondongseo self-assigned this Aug 16, 2026
@hoondongseo hoondongseo added the bug 버그 수정 label Aug 16, 2026
@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c036cfe2-8510-4b44-9209-1375f7af04c9


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@hoondongseo
hoondongseo merged commit 0468410 into develop Aug 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 애플 캘린더 반복 공휴일(RRULE) 누락 버그 해결 및 전체 연도 동기화 적용

1 participant