It would be interesting to track the bug rate after this commit and compare it to the bug rate in the Typescript version of the code base.
I expect they have a very large unit/integration test suite. Rails was the first (or very early pioneers) of doing TDD.
https://agileforall.com/history-of-tdd-as-told-in-quotes/
Djikstra proposed the idea in the 1970s. Rails did not in any way pioneer TDD. They were very vocal about it but “[stood] on the shoulders of giants.”