githubIssues.queries is applied to auto-detected linked worktrees
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:
- Open the main worktree in VS Code.
- Keep
"git.detectWorktrees": trueso linked worktrees are detected and shown in Source Control. - Configure a custom
githubIssues.queriesvalue for the main worktree. - 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-pull-request-github
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
microsoft/vscode-pull-request-github#9143 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
microsoft/vscode-pull-request-github#9072 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 53/100
microsoft/vscode-pull-request-github#9142 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
githubIssues.queries is applied to auto-detected linked worktreesCó thể đã có người làm @alexr00 đã nhận 1 ngày trước. Đang mở
microsoft/vscode-pull-request-github#9140 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
microsoft/vscode-pull-request-github#9125 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/vscode-pull-request-github
Issue tương tự
-
area:cli bug P4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug from-studio
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
esengine/DeepSeek-Reasonix#14868 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
linxiv-dev/linXiv#384 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
scope:core type:security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
follow-redirects updateĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
mailgun/mailgun.js#544 ·