github / github/copilot-cli

/update rerunning the prompt given in interactive mode(-i flag)

未關閉
#2,363 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:installation
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

/update restarts the session but the prompt in interactive mode also gets run

### Affected version

1.0.12

### Steps to reproduce the behavior

1. start a session with -i
2. run /update when the cli discovers an update
3. the initial prompt gets re-run

### Expected behavior

prompt should not be rerun

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the issue with an interactive session using `-i `, then run `/update` when an update is available. Trace the `/update` handling and interactive-session startup flow to find where the initial prompt is invoked again. Done means the session restarts without rerunning the initial prompt, with coverage for this sequence if the project has relevant CLI tests.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
描述清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。