Program Year Teardown - bcgov/SIMS GitHub Wiki
As program years become obsolete, they can be removed from the system.
Deactivate the program year in the database
Create a database migration to set the obsolete program year's is_active entry to false in the sims.program_years table.
Remove the program year bpmn files
Remove the assessment bpmn files for the obsolete program year (e.g. fulltime-assessment-2022-2023.bpmn and parttime-assessment-2023-2023.bpm for PY 2023-2023).
Remove related program year logic from dmn files
Search the .dmn files (e.g. fulltime-assessment-decisions.dmn and parttime-assessmenmt-decisions.dmn) for the obsolete program year. Remove all rules referring to the removed program year.
Remove the program year forms
Remove the program year specific forms for the obsolete program year which includes but it not necessarily limited to sfaa, supportingusersparent and supportingusersparent (e.g. sfaa2022-23.json, supportingusersparent2022-2023.json, and supportinguserspartner2022-2023.json for PY 2022-2023).
Remove related E2E tests
If there are still end to end tests specifically for the obsolete program year (e.g. workflow\test\2023-2024), also remove those.