-
Notifications
You must be signed in to change notification settings - Fork 328
refactor: Extract helper functions from processAlert #1336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Code Review✅ Overall: Clean refactoring, no critical issues found This PR successfully extracts helper functions from the overly long Minor observations (non-blocking):
These are minor quality improvements and don't block the merge. The refactoring achieves its goal of improving code organization. Status: ✅ Approved for merge |
E2E Test Results✅ All tests passed • 38 passed • 3 skipped • 323s
|
| group: string; | ||
| startTime?: Date; | ||
| }) => { | ||
| logger.info( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
wrn14897
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This PR extracts a couple of functions out of the excessively long
processAlertfunction, to improve readability.This is also intended to simplify HDX-2568, which will be able to re-use some of these functions.