Default "build" skip hides tracked first-party source, and explore returns unrelated matches instead of saying so
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start with the default skip list that contains build, and with how codegraph_explore reports partial misses, since the #2026 miss diagnostics only cover full misses. Also check how sync handles paths that a changed ignore file un-ignores, and how init/status report skipped directories. The issue offers three separate changes and the maintainer has not chosen one, so agree on scope before writing code. Done means a repro in a .NET repo with a tracked build/ folder either gets indexed or gets a visible warning.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Version: 1.6.2, Windows 11, Claude Code
Our repo (.NET) has a root build/ folder that's real, tracked source: about 86 C# files across several small tool projects (release notes builder, packaging, validators). Their actual build output lives in bin/ and obj/, which are already gitignored. Because build is on the default skip list, none of it was indexed.
That on its own would be easy to spot, but explore didn't tell us anything was missing. A query naming symbols that only exist under build/:
codegraph_explore "ReleaseNotesBuilder Program Main ChangelogParser PersistentData Entry AddFeatures"
returned Main from an unrelated Program.cs elsewhere in the repo plus a C++ Parser class, with no hint that most of the names matched nothing. We only figured it out after querying by file path, which gave "No indexed file uniquely matches". The agent was a few steps into reading the wrong code by then.
Workaround: !/build/ in the root .gitignore, then a full codegraph index. With the negation in .git/info/exclude, codegraph sync reported "Already up to date" and found nothing new; only a full index picked the folder up. include in codegraph.json isn't an option, since the docs say it never resurfaces built-in skipped dirs.
Suggestions:
- Don't apply the
buildskip to a folder that contains tracked project/source files whose output is gitignored, or at least report skipped default dirs with tracked source ininit/status, so people know to opt in. #1998 did the first part for JVM packages namedbuild; the same trap exists for .NET and others. - Extend the #2026 miss diagnostics to partial misses: when identifier-like query words match nothing, say so even if other results are returned.
- Have
syncnotice newly un-ignored paths after an ignore-file change, or say that a fullindexis needed.
- Lingua principale
- C
- Stelle
- 73.2k
- Fork
- 4.7k
- Merge medio
- 11h 28m
- PR unite (30g)
- 596
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di colbymchenry/codegraph
-
codegraph ui - does not workAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
colbymchenry/codegraph#1900 · 2 commenti · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
colbymchenry/codegraph#1700 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
colbymchenry/codegraph#1535 · 2 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
colbymchenry/codegraph#1403 ·
I maintainer di solito rispondono entro 1 giorno
-
agent-target
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
colbymchenry/codegraph#649 · 5 commenti · 50 reazioni ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di colbymchenry/codegraph
Issue simili
-
开发板墙缺少 ESP32_S31_MOSAICOAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
espressif/esp-vision#16 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
libsdl-org/SDL#16577 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
halt_error adds a trailing newline for non-string input, contrary to the manualForse già presa @Huang-404-Q l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MerginMaps/geodiff#272 ·