Merged
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthrough피크타임(1시~3시) 동안 좋아요 점수에 2배 배수를 적용하는 이벤트 기능이 추가되었습니다. 동시에 메서드 인자 타입 불일치 예외에 대한 전역 예외 처리기도 추가되었습니다. Changes
Sequence DiagramsequenceDiagram
participant Client
participant BoothLikeService
participant Config
participant TimeProvider as TimeProvider<br/>(Seoul TZ)
Client->>BoothLikeService: like(boothId)
activate BoothLikeService
BoothLikeService->>BoothLikeService: getLikeMultiplier()
activate BoothLikeService
BoothLikeService->>Config: doubleEventEnabled?
Config-->>BoothLikeService: true/false
alt Event Enabled
BoothLikeService->>TimeProvider: getCurrentTime(Seoul)
TimeProvider-->>BoothLikeService: current time
BoothLikeService->>BoothLikeService: check if within<br/>doubleEventStart~End
alt Within Event Window
BoothLikeService-->>BoothLikeService: return 2
else Outside Window
BoothLikeService-->>BoothLikeService: return 1
end
else Event Disabled
BoothLikeService-->>BoothLikeService: return 1
end
deactivate BoothLikeService
BoothLikeService->>BoothLikeService: score = baseScore × multiplier
BoothLikeService-->>Client: success response
deactivate BoothLikeService
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (2 warnings, 1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
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. Comment |
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 by CodeRabbit
릴리스 노트
New Features
Bug Fixes