Merged
Conversation
P0 #5: 주간 랭킹 날짜 필터 추가 - 문제: activityScores 테이블에서 모든 기간의 점수를 합산 - 해결: 이번 주 시작일(~ 00:00:00 KST)부터 종료일(~ 23:59:59.999 KST)까지의 점수만 필터링 - 파일: weekly-ranking.ts P0 #6: 회차 시작 알림 타임존 수정 - 문제: UTC 기준으로 날짜 비교해서 KST에서 실행 시 날짜 불일치 - 해결: KST (UTC+9) 기준으로 오늘 날짜 구해서 비교 - 파일: round-reporter.ts (sendRoundStartAnnouncement) P0 #7: 회차 종료 후 isCurrent 플래그 업데이트 - 문제: 회차 리포트 전송 후 isCurrent 플래그가 업데이트되지 않음 - 해결: 다음 회차가 있으면 해당 회차를 current로 설정, 없으면 현재 회차의 isCurrent를 false로 변경 - 파일: round-reporter.ts (sendRoundReport) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
코드 리뷰 사항 반영: - P0 #6 타임존 처리 로직을 formatKSTDate() 헬퍼 함수로 분리 - 코드 재사용성과 명확성 향상 - KST 오프셋 계산 로직을 함수 내부로 캡슐화 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
🎯 Summary
🔴 AS-IS
isCurrent플래그가 업데이트되지 않아 다음 회차로 자동 전환 안 됨🟢 TO-BE
isCurrent전환💬 참고사항
rounds테이블과 회차 스케줄러 관련 기능activityScores.createdAt필터링 추가sendRoundReport()종료 후setCurrentRound()또는isCurrent = false업데이트