RFC 624: Add envvar to backdoor inference override script
Created by: efritz
Fixes #35451 (closed). This PR adds an envvar to provide an override inference script. This will allow us to (in the next release) supply envvar values to site-admins to help them automatically index all of their repositories.
Test plan
New unit tests.