fix: skip Antigravity IDE install roots during discovery#468
Open
rudi193-cmd wants to merge 1 commit into
Open
fix: skip Antigravity IDE install roots during discovery#468rudi193-cmd wants to merge 1 commit into
rudi193-cmd wants to merge 1 commit into
Conversation
Auto-index integrations can pass the IDE installation directory itself as a repo root. Treat Antigravity installs under AppData/Local/Programs as non-project roots so discovery returns an empty file list instead of indexing runtime assets and binaries. Fixes DeusData#403 Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: rudi193-cmd <rudi193@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
ceb53a4 to
3ec077d
Compare
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.
Summary
Fixes #403 by treating Antigravity IDE install directories under
AppData/Local/Programsas non-project roots during discovery.When auto-index passes the IDE installation directory itself as
repo_path, basename-only directory skips do not help because the walker starts inside that root. This adds a normalized full-path guard before the walk so discovery succeeds with an empty file list instead of indexing IDE runtime assets/binaries.Changes
looks_like_ide_install_root()path normalization (\\->/, ASCII lowercase)cbm_discover_ex()forAppData/Local/Programs/Antigravity*rootsAppData/Local/Programs/Antigravity IDEtree containing source-like filesTest plan
75 passedmake -f Makefile.cbm testcould not compile in this environment because systemzlib.his missing:Made with Cursor