Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

IllianiCBT
Copy link
Collaborator

  • Streamlined logic for dependent removal, incorporating genealogy-based validations to prevent unintended removals.
  • Added an isActive method to Genealogy to identify active family links
  • Updated dependent departed language to remove repetition in the daily log
  • Change personnel removal to run on the first day of the month
  • Updated and streamlined logic for personnel cleanup.

Fix #5695

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.
@IllianiCBT IllianiCBT added the Bug label Jan 23, 2025
@IllianiCBT IllianiCBT self-assigned this Jan 23, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.30%. Comparing base (49fd7fd) to head (d3b505e).
Report is 27 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5871      +/-   ##
============================================
- Coverage     10.30%   10.30%   -0.01%     
- Complexity     6124     6127       +3     
============================================
  Files          1038     1038              
  Lines        139020   139112      +92     
  Branches      20585    20606      +21     
============================================
+ Hits          14330    14331       +1     
- Misses       123296   123384      +88     
- Partials       1394     1397       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random Dependent Removal appears to have removed active parents
2 participants