Integration tests are scanning 10,000 directories all the time on CI.
In !61297 (comment 570514966), I discovered Sprockets is recursively scanning 10K asset directories every we call asset_path, etc. This is probably consuming between 20-50% of integration test time.
Interestingly, 9K out of 10K is node_modules/. Do we need node_modules/ to be in config.assets.paths ?
I have disabled this check locally, but do we want to do something in CI ? This could be a substantial decrease in CI job time.
Edited by Thong Kuah