Skip to content

Add support for include_directive in C#596

Open
gkorland wants to merge 1 commit intostagingfrom
backend/add-include-directive-support
Open

Add support for include_directive in C#596
gkorland wants to merge 1 commit intostagingfrom
backend/add-include-directive-support

Conversation

@gkorland
Copy link
Contributor

Migrated from falkordb/code-graph-backend#57

Summary

Add support for processing include_directive in C files, creating edges between files.

Changes:

  • Added process_include_directive method to C analyzer
  • Modified first pass to process include directive nodes
  • Added test case for include directive relationship tracking

Resolves #544


Originally authored by @gkorland in falkordb/code-graph-backend#57

Migrated from FalkorDB/code-graph-backend PR #57.
Original issue: FalkorDB/code-graph-backend#46
Resolves #544

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel
Copy link

vercel bot commented Mar 10, 2026

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

Project Deployment Actions Updated (UTC)
code-graph Error Error Mar 10, 2026 9:01am

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 10, 2026

Warning

Rate limit exceeded

@gkorland has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 57 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 249a7e1f-45c4-49d9-b045-ab9f612ef0b5

📥 Commits

Reviewing files that changed from the base of the PR and between b62b0ab and ab87e47.

📒 Files selected for processing (2)
  • api/analyzers/c/analyzer.py
  • tests/test_c_analyzer.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch backend/add-include-directive-support

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

Comment @coderabbitai help to get the list of available commands and usage tips.

logger.info(f"Processing {path}")

# Create file entity
file = File(os.path.dirname(path), path.name, path.suffix)
import logging
logger = logging.getLogger('code_graph')

class CAnalyzer(AbstractAnalyzer):
import os
from ..utils import *
from pathlib import Path
from ...entities import *
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.

Add support for include_directive in C

1 participant