Revert "Revert "add stack-probes to make stack-overflow detection more reliable (#40068)""
This reverts commit 7da505b5420cfd402787bbca4bae0da793ff0501.
Elliot didn't `git worktree` right, and ended up commiting to `master`
isntead of a feature branch