[FR] Make it more obvious when ctags indexing fails
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- search
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 3.9k
- Fork
- 374
- Merge medio
- 21h 18m
- PR unite (30g)
- 39
Guida per i contributori
Apri la guida per i contributori
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 sourcebot-dev/sourcebot
-
bug triage needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
sourcebot-dev/sourcebot#1681 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
sourcebot-dev/sourcebot#1633 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sourcebot-dev/sourcebot#1384 · 4 commenti ·
-
ask_sb bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
sourcebot-dev/sourcebot#1137 · 4 commenti ·
-
bug triage needed
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
sourcebot-dev/sourcebot#1661 · 1 commento ·
Tutte le issue di sourcebot-dev/sourcebot
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
modelcontextprotocol/inspector#2458 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
carbon-design-system/ibm-products#9907 ·