Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Default "build" skip hides tracked first-party source, and explore returns unrelated matches instead of saying so

Abierto
#2,462 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp
Área
search, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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:

  1. Don't apply the build skip to a folder that contains tracked project/source files whose output is gitignored, or at least report skipped default dirs with tracked source in init/status, so people know to opt in. #1998 did the first part for JVM packages named build; the same trap exists for .NET and others.
  2. Extend the #2026 miss diagnostics to partial misses: when identifier-like query words match nothing, say so even if other results are returned.
  3. Have sync notice newly un-ignored paths after an ignore-file change, or say that a full index is needed.
Lenguaje dominante
C
Estrellas
73.2k
Forks
4.7k
Merge medio
13 h 27 min
PR fusionados (30 d)
518

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de colbymchenry/codegraph

Todos los issues de colbymchenry/codegraph

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.