While cleaning slaves disk I found out mediawiki-core-npm job process git submodules. On wmf branches that means cloning a whole lot of repo for which we do not use the code.
https://integration.wikimedia.org/ci/job/mediawiki-core-npm/
The configuration does show the git submodule processing enabled.