Comment why we don't run multiple autobuilders for other languages

This commit is contained in:
Henry Mercer
2022-09-12 18:25:20 +01:00
parent 40e0374c6f
commit bde5694fb7
3 changed files with 15 additions and 1 deletions

View File

@@ -72,6 +72,13 @@ export async function determineAutobuildLanguages(
logger.debug(`Will autobuild ${languages.join(" and ")}.`);
// In general the autobuilders for other traced languages may conflict with
// each other. Therefore if a user has requested more than one non-Go traced
// language, we ask for manual build steps.
// Matrixing the build would also work, but that would change the SARIF
// categories, potentially leading to a "stale tips" situation where alerts
// that should be fixed remain on a repo since they are linked to SARIF
// categories that are no longer updated.
if (autobuildLanguagesNoGo.length > 1) {
logger.warning(
`We will only automatically build ${languages.join(