chore: deprecate get_reschedule_plan
and clean up code
#17584
+34
−1,232
Merged