Skip to content

fix(indexing): surface supported-parser initialization failures - #1761

Open
Shashankss1205 wants to merge 2 commits into
mainfrom
fix/parser-initialization-failures-1746
Open

Shashankss1205 wants to merge 2 commits into
mainfrom
fix/parser-initialization-failures-1746

Conversation

@Shashankss1205

Copy link
Copy Markdown
Collaborator

When an installed parser cannot initialize, indexing currently treats supported files as unsupported and can report success with an empty source graph. Preserve the original initialization exception, fail the pre-scan/index job, and mark direct file parsing as parse_failed. Remove the unconditional Python grammar download during dependency import; fall back to the legacy package only on an import failure. Add troubleshooting guidance.

Validation: three regression tests pass for direct parsing, a failed indexing job with the original cache-permission error, and dependency loading without an unrelated Python grammar download. Ruff passes. The combined maintenance unit run passed 1,552 tests with 8 skips; two baseline Haskell failures are tracked separately in #1758.

This does not resolve the remaining event-loop starvation work in #1745.

Closes #1746.

@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
code-graph-context-pack Ready Ready Preview Oct 9, 2026 4:19pm UTC

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Hi! 👋 Join our CodeGraphContext Discord channel to collaborate: https://discord.gg/dR4QY32uYQ

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

🔍 PR Code Graph Analysis

fix(indexing): surface supported-parser initialization failures (#1761)

📊 Interactive Visualization

View the blast radius graph: PR Reviewer Dashboard

📦 Artifacts

The graph JSON has been uploaded as a build artifact: pr-code-graph-1761


Generated by CodeGraphContext using FalkorDB Lite

This branch was successfully deployed

1 active deployment
Preview — ed7bb180 Deployed Oct 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog tasks

Development

Successfully merging this pull request may close these issues.

indexer: when the parser library cannot initialise, source files are silently dropped and the job reports completed

1 participant