Skip to content

fix(jobs): preserve bounded indexing failure tracebacks - #1759

Open
Shashankss1205 wants to merge 2 commits into
mainfrom
fix/index-job-tracebacks-1755
Open

Shashankss1205 wants to merge 2 commits into
mainfrom
fix/index-job-tracebacks-1755

Conversation

@Shashankss1205

Copy link
Copy Markdown
Collaborator

Failed indexing jobs currently retain only str(error), so MCP clients cannot inspect the underlying failure. Add error_type and a traceback capped at 32,768 characters, with a clear truncation marker, and capture diagnostics in both tree-sitter and SCIP indexing failure paths. Preserve the existing errors[0] message and JSON response contracts. Update MCP and troubleshooting documentation.

Validation: 10 diagnostic/job tests pass, covering exception capture, truncation, job-status/list serialization, existing job behavior, and an indexing failure. Ruff passes on changed Python files. The combined maintenance unit run passed 1,552 tests with 8 skips; its two Haskell failures reproduce on unchanged main and are addressed separately by #1758.

Closes #1755.
Related: #1092.

@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:17pm 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(jobs): preserve bounded indexing failure tracebacks (#1759)

📊 Interactive Visualization

View the blast radius graph: PR Reviewer Dashboard

📦 Artifacts

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


Generated by CodeGraphContext using FalkorDB Lite

This branch was successfully deployed

1 active deployment
Preview — e9701d27 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.

Preserve index-job failure tracebacks instead of str(e) only

1 participant