feat: warnings en indexer para file_path inexistentes en disco

Valida post-insert que file_path y test_file_path de funciones y tipos apunten a archivos reales. Reporta warnings sin bloquear el indexado.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-03 03:23:25 +02:00
parent e33b306225
commit e89b78cc45
2 changed files with 28 additions and 0 deletions
+3
View File
@@ -127,6 +127,9 @@ func cmdIndex() {
for _, e := range result.ValidationErrors {
fmt.Fprintf(os.Stderr, " INVALID: %s\n", e)
}
for _, w := range result.Warnings {
fmt.Fprintf(os.Stderr, " WARN: %s\n", w)
}
for _, e := range result.Errors {
fmt.Fprintf(os.Stderr, " ERROR: %s\n", e)
}