microsoft / microsoft/vscode-pull-request-github
GitHub search tool returns zero matching GitHub Issues despite there being many
- 主要言語
- TypeScript
- スター
- 2.6k
- フォーク
- 795
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 46
説明
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. Theissue_fetchtool 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.
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。