-
Notifications
You must be signed in to change notification settings - Fork 178
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
Refactored Personnel Cleanup and Random Dependent Removal #5871
base: master
Are you sure you want to change the base?
Refactored Personnel Cleanup and Random Dependent Removal #5871
Conversation
Streamlined logic for dependent removal and personnel status checks, incorporating genealogy-based validations to prevent unintended removals. Added an `isActive` method to `Genealogy` to identify active family links and updated resource strings for improved clarity.
Previously, personnel removal was processed on the last day of the month. This change ensures it now runs at the start of the month, aligning better with other monthly processes and improving data handling consistency.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5871 +/- ##
============================================
- Coverage 10.35% 10.34% -0.02%
+ Complexity 6163 6160 -3
============================================
Files 1039 1039
Lines 139359 139382 +23
Branches 20639 20648 +9
============================================
- Hits 14428 14416 -12
- Misses 123503 123536 +33
- Partials 1428 1430 +2 ☔ View full report in Codecov by Sentry. |
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.
One minor change (and any fixes related to master update)
Updated the dependent departure message logic to correctly use singular or plural form based on the number of dependents. Added new resource strings for localization and adjusted the message formatting accordingly.
isActive
method toGenealogy
to identify active family linksFix #5695