Replace hacky version of calculate_max_depth
with simpler one.
#4731
submod.yaml
on: pull_request
Submodule Regression Check
3m 8s