Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

githubIssues.queries is applied to auto-detected linked worktrees

Aberta
#9,141 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github, typescript, vscode

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
2.6k
Forks
807
Merge médio
1d 6h
PRs com merge (30d)
75

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de microsoft/vscode-pull-request-github

Todas as issues de microsoft/vscode-pull-request-github

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.