Repository navigation
fix(item): preserve live PR tracking on redispatch - #951
Conversation
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Next included review available in 29 minutes. View limit details
Comment |
|
Heads-up on one interaction with a change that landed after this PR was opened: #953 ( Two things worth knowing, both in your favour:
Net: the two changes agree. One note on ordering: Not a blocker — just wanted the reasoning on the record, since #953's doc comment cites the old redispatch behaviour and will need a line updated when this lands. |
Agentflare-Branch: task/736-redispatch-clears-metadata-pr-even-when Agentflare-Item: 736
Agentflare-Branch: task/736-redispatch-clears-metadata-pr-even-when Agentflare-Item: 736
…, not the stray sweep Agentflare-Agent: claude-code_2-1-310_harness Agentflare-Branch: task/736-redispatch-clears-metadata-pr-even-when Agentflare-Item: 736 Agentflare-Session: 6278f161-4bdc-41bb-a62e-8f0e3e29b9ed
bcc9598 to
11cad65
Compare
Redispatching fixes for a live PR now preserves
metadata.prand its review state, including when GitHub cannot be reached.keep_pr: trueoverrides the lookup. Merged, closed, or missing PRs are cleared together withreview_threadsandcoderabbit_repair_announced_forin one metadata write. A replacement PR attached during the lookup is retained.The closed-PR supervisor also binds its cleanup verdict to the PR number confirmed closed, including its no-assignee SQL fallback. A caller-level regression replaces PR #501 with #502 after the supervisor guard and verifies the replacement PR and review metadata survive in both assignee paths.
Depends on #946 for PR recovery. The redispatch handler and its new MCP test were split into modules to satisfy the repository's file-size gate.
Validation at
bfa6231a:cargo fmt --checkandcargo fmt --all --check: pass aftercargo fmtfixed test formatting.cargo test --workspace, and the new regression were run to completion; verification is blocked by disk exhaustion (OS error 112) in the shared Cargo target directory. Earlier attempts also waited on the shared build lock. No local test-pass claim is made for this revision.gh pr checks 951 --watch --interval 20completes with exit 0. CI run: https://github.com/getappz/agentflare/actions/runs/39732252509Opened by
codexon i-flare-c997d745ae66 (flared:c997d745ae66) for item #736 via agentflare.