github / github/copilot-cli

/compact: agent activity indicator fires immediately when next message is queued, making it look like the message was sent mid-compact

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

描述

## Summary
When `/compact` is running and the user types and submits a new message, the message appears in BOTH the queued-message stack AND the main chat history, and the "working" activity indicator kicks on right away — as if the message had been sent to the LLM mid-compaction.

## Actual behavior (verified)
Functionally this is correct: the agent does not actually receive or respond to the queued message until `/compact` finishes. The bug is purely visual / UX.

## Expected
While `/compact` is still running, a newly typed message should:
- Stay visible only in the queued stack
- NOT appear duplicated in the main chat transcript
- NOT trigger the "working" / activity indicator

The activity indicator and transcript echo should only fire once `/compact` completes and the message is actually dispatched to the model.

## Why this matters
Users currently believe their message was sent prematurely and either re-send it, cancel, or assume `/compact` silently failed. The deceptive UI undermines trust in `/compact`.

貢獻指南

開啟貢獻指南

研究方向

從 /compact 命令流程開始,透過在壓縮期間提交一則訊息來重現問題。追蹤佇列訊息堆疊、主要轉錄內容和工作狀態指示器的更新時機。完成的標準是:訊息只保留在佇列中,而轉錄內容和指示器只有在壓縮分派訊息後才會更新。

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

評估

領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
50/100

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

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