/ask and /btw answers go blank while the dialog stays open
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Describe the bug
When I use /ask or its /btw alias, answer text appears and then disappears without me pressing Escape or otherwise dismissing the response. The answer box stays open but becomes blank.
This is different from the expected disappearance after explicitly closing the temporary answer panel.
Affected version
1.0.83-5
Steps to reproduce the behavior
- Run Copilot CLI in the VS Code integrated terminal on Windows.
- In an existing conversation, submit
/ask <a short text-only question>or/btw <a short text-only question>. - Allow the answer to render and leave the panel open without dismissing it.
- Observe that the answer text can disappear while the panel remains open.
This has happened repeatedly in this environment, but a deterministic minimal reproduction has not yet been isolated. It is not established whether a resumed conversation or a concurrently running main task is required.
Expected behavior
Once answer text is displayed, it should remain readable in the open panel until I explicitly dismiss it. Finishing the response should not erase already displayed text.
Additional context
- OS/architecture: Windows, x64.
- Terminal: VS Code integrated terminal.
- Related closed report: github/copilot-cli#3759 describes blank
/askresponses on resumed chats in version1.0.61. Linking as possibly related, not as a confirmed duplicate or regression.
Suspected cause, not confirmed: Completion handling may replace an already streamed answer with an empty value when the final answer payload is empty or missing. A component-level simulation reproduces that failure mode, but the final payload from an actual failing live query has not been captured.
Local workaround status: The symptom was observed before modifying the installation. A temporary local UI workaround was subsequently applied to retain displayed and buffered streamed text when the final answer is empty or missing, while still using a nonempty final answer when provided. Its effectiveness against the original live symptom has not yet been confirmed; it is not an upstream fix or proof of the suspected cause.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 Windows VS Code 集成终端中复现 /ask 和 /btw;如果可能,还要包括恢复的对话和并发任务。将显示的流式文本和缓冲的流式文本与最终答案 payload 进行比较;当 panel 保持打开时答案仍然可读即表示完成,包括最终 payload 为空或缺失的情况。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell, vscode
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 42/100