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

githubIssues.queries is applied to auto-detected linked worktrees

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, typescript, vscode
Lĩnh vực
developer-experience

Hướng nghiên cứu

Start in the issue state manager where githubIssues.queries is read, and check the extension manifest for its resource scope. Trace how the query list is reused across detected repositories and how an empty list falls back to the default. Done means each worktree gets its own configured queries, including an explicit empty list.

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

Mô tả

  • Extension version: 0.172.0
  • VSCode Version: Not recorded
  • OS: macOS (version not recorded)
  • Repository Clone Configuration (single repository/fork of an upstream repository): One main worktree with linked worktrees for the same repository
  • GitHub Product (GitHub.com/GitHub Enterprise version x.x.x): Not recorded

Steps to Reproduce:

  1. Open the main worktree in VS Code.
  2. Keep "git.detectWorktrees": true so linked worktrees are detected and shown in Source Control.
  3. Configure a custom githubIssues.queries value for the main worktree.
  4. Open the GitHub Issues view and refresh it.

Actual:

The configured query categories are also applied to the auto-detected linked worktrees. I cannot configure the queries for the main worktree without also applying them to those linked worktrees.

Setting githubIssues.queries to an empty array does not disable the queries; the extension replaces the empty array with its default query.

Expected:

githubIssues.queries should be resolved per repository/worktree, so the main worktree can use its configured queries while linked worktrees can use their own configuration or no query categories. An explicit empty array should remain empty.

This should work while "git.detectWorktrees": true remains enabled, since I want the linked worktrees to continue appearing in Source Control.

Additional context:

The extension manifest declares githubIssues.queries as a resource-scoped setting, but the issue state manager appears to read it without a resource and reuse the resulting query list for all detected repositories. It also replaces an empty query list with the default query.

Ngôn ngữ chính
TypeScript
Star
2.6k
Fork
807
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
70

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 microsoft/vscode-pull-request-github

Tất cả issue của microsoft/vscode-pull-request-github

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.