github / github/app

Title: Initial user prompt lost when Git setup/snapshot command times out

未关闭
#1,919 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

Title: Initial user prompt lost when Git setup/snapshot command times out

Body:
A new Copilot app session lost the user’s initial prompt after a Git command timed out after 300 seconds.

Observed behavior:

The UI showed a Git timeout: git command timed out after 300 seconds.
The prompt did not return.
Stuck Git processes remained running, including git worktree add, git reset --hard --no-recurse-submodules, and git add -A.
After recovery, the persisted chat context did not include the original user request.
The earliest stored user message was only the later follow-up: what happened?.
Expected behavior:
The initial prompt should be persisted before or independently of long-running Git setup/snapshot operations, so it can be recovered even if Git times out or child processes remain stuck.

Impact:
Users can lose their original request and cannot recover the intended task without retyping it

---
| Field | Value |
| --- | --- |
| App version | 1.0.21 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |

贡献指南

打开贡献指南

调研方向

报告中没有指定源文件或测试。首先在 /chat 路径上重现 Git setup/snapshot 超时流程,并跟踪初始 prompt 何时被持久化;完成标准是:即使 Git 操作超时或卡住,仍然可以恢复原始 prompt,并且有一个覆盖该恢复流程的回归测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
git
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。