microsoft / microsoft/vscode-pull-request-github

GitHub search tool returns zero matching GitHub Issues despite there being many

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

@alexr00 đang làm issue này rồi.

Từ ngày 5/9/2026.

  • #8938 của @copilot-swe-agent — đang mở
bug
Ngôn ngữ chính
TypeScript
Star
2.6k
Fork
795
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
46

Mô tả

Problem

The github-pull-request_doSearch language-model tool returns zero results when searching a repository that is not the active workspace repository, even when actually such results do exist.

Specific example:

  • Repository parameter: microsoft/vscode
  • Query: is:issue is:open assignee:jruales
  • Actual result: totalIssues: 0
  • Known matching issue: https://github.com/microsoft/vscode/issues/332663 is open and currently assigned to jruales. The issue_fetch tool also returns that assignee correctly.

Equivalent queries such as is:issue assignee:jruales, assignee:jruales, and is:issue is:open involves:jruales also return zero.

The tool itself includes an Open on GitHub.com link. Opening that link shows the expected assigned issues, while the tool's structured result for the same query reports zero.

Image
Expected

The explicit repo parameter should scope the search independently of whichever repository is open in the workspace. Alternatively, if the requested repository cannot be searched, the tool should return an explicit error explaining why rather than a successful-looking empty result.

Likely cause

SearchTool resolves or creates the requested repository, but then calls FolderRepositoryManager.getIssues(). Its paging path filters repositories against active workspace remotes, which may exclude the synthetic repository created for the explicit repo parameter. The tool then returns a successful-looking empty result.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.

Đánh giá

Issue này chưa được đánh giá.

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.