/ask and /btw answers go blank while the dialog stays open
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Windows VS Code の統合ターミナルで /ask と /btw を再現します。可能であれば、再開された会話と並行タスクも含めます。表示されたストリーミングテキストおよびバッファリングされたストリーミングテキストを最終回答のペイロードと比較します。パネルを開いたまま回答が読みやすい状態で維持されれば完了です。最終ペイロードが空または欠落している場合も含みます。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell, vscode
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 42/100