github / github/app

BUG agent session creates PR that doesn't get linked properly

未關閉
#653 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Bugs
主要語言
沒有語言資料
星號
2.1k
分支
153
PR 合併指標
30 天內沒有已合併 PR

描述

### Short summary

PR not linked to session

### Affected version or release

v0.2.5

### Installation context

_No response_

### What happened?

This happens to me on every other PR. Very annoying for obvious reasons.

The MCP function the agent tries to use to open the PR fails with 422, apparently because we work off of forks and can't create branches on the main repo. Then, it usually asks me if it is allowed to use `gh` to open the PR, and I approve. But it's about 50-50 on whether the PR actually gets linked. I've had some sessions try to update whatever local DB state is missing the linkage but that never helped either.

Happy to provide examples for investigation if it helps.

### Steps to reproduce

_No response_

### Expected behavior

PR gets linked

### Additional context

Happy to provide IDs if you tell me how to retrieve them.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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