migrations: Small refactor to runner package
Created by: efritz
Pulled from #29831. This PR minimizes the diff between main
and the experimental branch. This PR should make no behavioral changes.
Created by: efritz
Pulled from #29831. This PR minimizes the diff between main
and the experimental branch. This PR should make no behavioral changes.