github / github/app

[Bugs] Agent merge stops outside of the merge UX when CI is still running

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

描述

### Short summary

Agent merge stops when CI is still running outside the merge UX

### Affected version or release

Current app version / production build on macOS

### Installation context

N/A

### What happened?

When I ask the agent to merge a PR from chat, it uses the agent merge skill. If required checks are still running, the skill observes that CI is pending and then stops instead of continuing to wait/poll.

This makes the flow unreliable outside of the dedicated merge UX, because there is no ongoing “tick” to keep the merge attempt alive. The user has to notice that the agent stopped and manually prompt it to continue.

I saw this pattern in my recent session history multiple times: agent merge was invoked, checks were still running, and follow-up “continue” prompts were needed to make progress. I’m intentionally not including org, repo, PR, or transcript details here.

### Steps to reproduce

1. Open a PR with required checks that are still running.
2. Ask the agent from chat to merge the PR.
3. Let the agent invoke the agent merge skill.
4. Observe that the agent sees CI/checks are still running and stops.
5. Prompt the agent to continue.
6. Observe that the merge flow can proceed only after the manual continuation.

### Expected behavior

Agent merge should keep waiting/polling until the PR becomes mergeable, fails definitively, or needs explicit user action.

If the chat-based agent merge path cannot support that lifecycle, it should hand off to the same underlying UX-backed merge behavior that has a tick/polling mechanism, rather than stopping after a single pending-check observation.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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