github / github/copilot-cli

Issues and Pull Requests tabs display as inactive/greyed out (experimental mode)

未关闭
#4,022 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

I'm using github copilot cli with `experimental mode` enabled. I see the `Issues` and `Pull Requests` tabs in the interface but they are always greyed out regardless of the status of the current repo and branch. Here are details that might help:

* Copilot CLI version: 1.0.68
* Platform: Ubuntu (within WSL)
* Experimental mode: enabled
* gh  CLI working: yes (issues and PRs listed successfully)
* Tabs configuration: enabled
* 2 github accounts configured (personal and work). Git and SSH have been configured to work with each separately:
```ini
# ~/.gitconfig
[url "git@github.com:"]
insteadOf = "https://github.com"

[url "work-ssh-alias:work-gh-org/"]
insteadOf = git@github.com:work-gh-org/
```
```ssh-config
# ~/.ssh/config
Host work-ssh-alias
User git
HostName github.com
IdentityFile ~/.ssh/id_ed25519_work_key
```
* `gh` cli is always be setup to auth against the correct account when working within a repo and works as expected when listing issues and PRs

### Affected version

GitHub Copilot CLI 1.0.68.

### Steps to reproduce the behavior

_No response_

### Expected behavior

I expect to see the Issues and PRs tabs active when copilot is within a github repo.

### Additional context

Additional context generated via copilot-cli when attempting to debug the issue:

----

Environment:

• Copilot CLI version: 1.0.68
• Platform: Linux
• Experimental mode: enabled

Issue:
The Issues and Pull Requests tabs display as inactive (greyed out) in the experimental tabbed interface, despite the feature being properly configured and functional.

Verification Steps Completed:

• ✅ Tabs are enabled in  ~/.copilot/settings.json  ( "enabled": true )
• ✅ Running Copilot CLI inside a valid Git repository with remote on GitHub
• ✅  gh  CLI is authenticated and can successfully list issues:  gh issue list -R /  returns open issues
• ✅  gh  CLI can successfully list pull requests:  gh pr list -R /  returns open pull requests
• ✅ Correct GitHub account is set as active with appropriate token scopes ( repo ,  read:org ,  workflow )
• ✅ Restarting the Copilot CLI session does not resolve the issue

Expected Behavior:
The Issues and Pull Requests tabs should be active and allow browsing repository issues and PRs, as documented in the Copilot CLI help.

Actual Behavior:
The tabs remain inactive/greyed out and appear non-functional, even though the underlying  gh  CLI infrastructure is working correctly and can retrieve the data that would populate these tabs.

贡献指南

打开贡献指南

调研方向

从 ~/.copilot/settings.json 开始,在 GitHub repository 中复现实验性标签页界面;针对当前 repository 和账户验证所报告的 `gh issue list` 和 `gh pr list` 命令。payload 未指定源文件或测试,因此请跟踪控制标签页可用性的 CLI 入口点,并确认标签页在有效 repository 中变为活动状态。

由索引模型根据 Issue 内容生成。

评估

技术栈
github, shell
领域
cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
需要澄清
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。