Skip to content

fix(knowledge): propagate dep_error so missing tree-sitter counts as failed not skipped (#4938)#4970

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-4938
Apr 17, 2026
Merged

fix(knowledge): propagate dep_error so missing tree-sitter counts as failed not skipped (#4938)#4970
mrveiss merged 1 commit intoDev_new_guifrom
issue-4938

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 16, 2026

Closes #4938

Summary

  • extract_python/extract_javascript returned {'nodes': [], 'edges': []} on ImportError — index_file counted the file as skipped with no diagnostic
  • Added dep_error key to extractor's ImportError return value
  • index_file now checks for dep_error and records failed += 1 with descriptive message

Tests

  • test_index_file_dep_error_counts_as_failed — patches extractor, asserts failed=1, skipped=0 and error contains "missing dependency"

…itter is counted as failed not skipped (#4938)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mrveiss mrveiss merged commit 7d8d3ed into Dev_new_gui Apr 17, 2026
1 of 3 checks passed
@mrveiss mrveiss deleted the issue-4938 branch April 17, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant