Skip to content

fix(repo-map): propagate symbol extraction warnings into results and outputs - #249

Closed
chetna123-ch wants to merge 1 commit into
Sandesh13fr:mainfrom
chetna123-ch:fix/propagate-symbol-warnings
Closed

chetna123-ch wants to merge 1 commit into
Sandesh13fr:mainfrom
chetna123-ch:fix/propagate-symbol-warnings

Conversation

@chetna123-ch

Copy link
Copy Markdown

Description

This PR fixes an issue where symbol extraction warnings from extractSymbols were being silently dropped by createRepoMap.

  • Propagates symbolResult.warnings into the core repo-map result.
  • Updates Markdown, JSON, and MCP output renderers to include the warning diagnostics.
  • Ensures robust error isolation so that unreadable or failing files don't break the entire symbol mapping process while returning useful warnings.
  • Adds comprehensive test coverage for failed reads/parser errors.

Acceptance Criteria

  • Symbol warnings are propagated into the repo-map result.
  • Warnings are visible in Markdown, JSON, and MCP outputs.
  • Valid results from other files are preserved when one file fails.
  • Tests added and passing successfully.

Fixed #161

…outputs

- Collect and include symbolResult.warnings in createRepoMap output
- Surface extraction warnings in Markdown, JSON, and MCP formats
- Add unit tests for failed file reads and parser error handling
@vercel

vercel Bot commented Nov 7, 2026

Copy link
Copy Markdown

@chetna123-ch is attempting to deploy a commit to the Sandesh's projects Team on Vercel.

A member of the Team first needs to authorize it.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

This PR was closed by the contribution policy:

Please resolve the items above, then reopen the PR.

@coderabbitai

coderabbitai Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot closed this Nov 7, 2026
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