Pending chat lines duplicate and won't go away, eventually filling up the screen
まだ誰も着手していません。
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the bug
I started noticing this bug come up where when I submit a response while agent is working it gets the normal pending thing, but after it submits, the pending line hangs out at the bottom of the screen. Submitting more things adds extra lines and sometimes causes weird duplicates. Eventually the whole screen can be filled with them.
I'm not sure if it's just the version I'm on or if an extension I just built that sometimes submits lines (extension allows separate agent session to send messages to each other). Either way, my extension shouldn't have the power to be janking up the UI this bad I wouldn't think?
Affected version
1.0.81-3
Steps to reproduce the behavior
- Get the agent working and start submitting some pending requests
Expected behavior
I expect that the pending messages
- Go away once submitted
- Even if I have tons, it should make them collapsible or something (kind of like the queue mode) so they don't take up the entire screen if I have a lot or an extension gets weird and posts for me multiple times.
Additional context
Restarting the session will clear it, but that's only thing I found that works :(
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイルもテストも指定されていません。まず、エージェントが動作している間に複数のリクエストを送信してバージョン 1.0.81-3 で再現し、その後、terminal UI で保留中メッセージのライフサイクルを追跡します。送信済みの保留行が消え、繰り返しのリクエストや拡張機能によって生成されたリクエストが画面を恒久的に埋めなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100