mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-03 02:21:29 +08:00
A push to the head branch of a bound change request started no status read, so its new checks showed after the next regular poll, and a command such as `gh pr merge` likewise left the card unchanged until then. ctx.forge.expectChange(ref) polls a watched change request at once and then at the active interval until a status reports running checks or a closed or merged change request, for at most one idle interval. forge-session calls it after each push result for the visible change requests in the pushed repository. When a turn that had a tool result ends, forge-session refreshes the Session's visible change requests with the age of that result as maxAgeMs; a turn without a tool result polls nothing. A refresh with maxAgeMs now compares against the start of the latest poll, in flight or settled, since a status reflects the host as of the start of its read, and leaves a merged change request alone.