Trace which code paths in trunk are covered in each test, then only run relevant tests on pull requests! https://engineering.shopify.com/blogs/engineering/spark-joy-by-running-fewer-tests A neat approach from Spotify, and it does the right thing 99% of the time.