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

[FR] Make it more obvious when ctags indexing fails

Abierto
#1,361 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
typescript
Área
search

Línea de trabajo

Reproduce the setup with an invalid CTAGS_COMMAND and inspect the worker logs around the zoekt symbol-analysis messages. Determine how a ctags failure should be surfaced in the UI, then verify that a failed or degraded indexing run is no longer presented as successful and that the outcome is visible for sym:main searches.

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

Descripción

Feature zoekt

While setting up a dev environment, I misconfigured the CTAGS_COMMAND which resulted in zoekt being unable to index repositories. Unfortunately, the UI indicated that the indexing was completed successfully. When searching with e.g. sym:main (or any other symbol), 0 results were returned.

This is the error in the logs:

[worker] 2026-06-22T04:37:49.344Z debug: [zoekt] /Library/Developer/CommandLineTools/usr/bin/ctags: illegal option -- -
[worker] 2026-06-22T04:37:49.345Z debug: [zoekt] usage: ctags [-BFTaduwvx] [-f tagsfile] file ...
[worker] 2026-06-22T04:37:49.345Z debug: [zoekt] 2026/06/21 21:37:49 ignoring universal:ctags or scip: error: write |1: file already closed
[worker] 2026-06-22T04:37:49.345Z debug: [zoekt] 2026/06/21 21:37:49 symbol analysis finished for shard statistics: duration=0s symbols=0 bytes=146

I could imagine other scenarios in which ctags indexing might fail. Perhaps the entire index pass should be considered failed in that case? Or at least partially degraded? It's currently impossible to tell from the UI that anything with the indexing is broken.

Lenguaje dominante
TypeScript
Estrellas
3.9k
Forks
374
Merge medio
21 h 18 min
PR fusionados (30 d)
39

Guía de contribución

Abrir la guía de contribución

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 sourcebot-dev/sourcebot

Todos los issues de sourcebot-dev/sourcebot

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.