githubIssues.queries is applied to auto-detected linked worktrees

Offen
#9,140 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@alexr00 arbeitet bereits daran.

Seit 29.10.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

bug
  • 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.

Vorherrschende Sprache
TypeScript
Sterne
2.6k
Forks
811
Ø Merge
1 T. 5 Std.
Gemergte PRs (30 T.)
65

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/vscode-pull-request-github

Alle Issues in microsoft/vscode-pull-request-github

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.