Log when file coverage info is disabled

This commit is contained in:
Henry Mercer
2026-01-26 11:21:41 +00:00
parent 12c4c7d0e9
commit 1996ca9f5d
2 changed files with 11 additions and 0 deletions

View File

@@ -501,6 +501,12 @@ export async function runQueries(
if (qualityAnalysisSummary?.trim()) {
logger.info(qualityAnalysisSummary);
}
if (!config.enableFileCoverageInformation) {
logger.info(
"File coverage information is disabled for this PR analysis for performance reasons. " +
"It will still be enabled for analyses triggered by a push or a schedule.",
);
}
if (await features.getValue(Feature.QaTelemetryEnabled)) {
// Note: QA adds the `code-quality` query suite to the `queries` input,