Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[FR] Make it more obvious when ctags indexing fails

Đang mở
#1,361 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
typescript
Lĩnh vực
search

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3.9k
Fork
374
Merge trung bình
21 giờ 18 phút
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sourcebot-dev/sourcebot

Tất cả issue của sourcebot-dev/sourcebot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.