Add INDEX_SOURCE config to control source code storage - #524
Merged
Shashankss1205 merged 2 commits intoFeb 1, 2026
Merged
Conversation
Contributor
Author
|
Hey @Shashankss1205 , can you review this pr soon? |
|
@spinola103 is attempting to deploy a commit to the shashankss1205's projects Team on Vercel. A member of the Team first needs to authorize it. |
Collaborator
|
Is this PR complete from your end? @spinola103 |
Contributor
Author
|
Yes, I have added a pr as asked. |
Collaborator
|
This is inaccurate and hence closing. You are just referring to Python but we support 12 other languages. |
Collaborator
|
I will be merging all the changes and will make a commit for all other languages. Thanks for your contribution @spinola103 ! |
psihius
pushed a commit
to psihius/CodeGraphContext
that referenced
this pull request
Mar 24, 2026
…-source-config Add INDEX_SOURCE config to control source code storage
macunha1
pushed a commit
to macunha1/CodeGraphContext
that referenced
this pull request
Jun 21, 2026
…-source-config Add INDEX_SOURCE config to control source code storage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add INDEX_SOURCE configuration flag
Closes #513
What this PR does
INDEX_SOURCEconfiguration flag (default:false)false, graph structure is indexed without storing full source codetrue, full source code for functions is stored in the graphWhy this is useful
Verification
INDEX_SOURCE=false→f.source = nullINDEX_SOURCE=true→ full function source storedNotes
source(existing behavior)