fix(compile-output): IDF "Project commit: HEAD-HASH-NOTFOUND" banners are not errors

esp-insights/esp-rainmaker print their version banner to stderr during the
CMake configure; without git metadata in the component tree it reads
"Project commit: HEAD-HASH-NOTFOUND" and the stderr classifier's default
painted it as a red error. Users read it as a failed build (it is not).
Classify "project commit:" lines as info.
This commit is contained in:
David Montero Crespo 2026-08-07 22:58:39 +02:00
parent e4e4331010
commit 32b11d83ec
1 changed files with 6 additions and 1 deletions

View File

@ -87,7 +87,12 @@ export function parseCompileResult(
lower.includes('note:') ||
lower.includes('in file included') ||
lower.startsWith('using ') ||
lower.startsWith('libraries ')
lower.startsWith('libraries ') ||
// IDF's CMake banners for esp-insights/esp-rainmaker print
// "... Project commit: HEAD-HASH-NOTFOUND" to stderr when the
// component tree has no git metadata — build chatter, not an error,
// but the red error marker made users read it as one.
lower.includes('project commit:')
) {
type = 'info';
}