chore: Store PR identity in item.metadata at open-time instead of reconstructing branch/marker later - #623
Merged
getappz merged 2 commits intoAug 27, 2026
Conversation
|
Warning Review limit reachedNext included review available in 38 minutes. View limit detailsLimit details: You’ve used the included review currently available. Your 62 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Comment |
…ta on push_and_open_pr (found-existing and created-new paths) without clobbering other metadata keys; is_pr_merged/pr_ci_status check metadata.pr.number first via pulls::get, falling back to branch heuristic only when absent. Verified: cargo build --lib clean, 21/21 worktree:: tests pass (incl. #191 regression + merge-no-clobber tests), clippy clean on worktree.rs. Not committed. Agentflare-Agent: claude-code_2-1-245_agent Agentflare-Branch: task/196-store-pr-identity-in-item-metadata-at-op Agentflare-Item: 196-store-pr-identity-in-item-metadata-at-op
getappz
force-pushed
the
task/196-store-pr-identity-in-item-metadata-at-op
branch
from
August 27, 2026 13:19
6e2a839 to
5ef1832
Compare
Agentflare-Agent: claude-code Agentflare-Branch: task/196-store-pr-identity-in-item-metadata-at-op Agentflare-Item: 196 Agentflare-Session: e77fc32e-33d0-4884-ab55-fdda48fe45fd
Merged
4 tasks
getappz
added a commit
that referenced
this pull request
Aug 28, 2026
…'s update-branch API (#630) Follow-up to the review-sweep BEHIND friction hit repeatedly this session (PRs #621, #623, #627 all needed a manual git merge origin/master before they could merge). run_review_sweep now checks PrCiStatus::Behind (GitHub's own mergeable_state == "behind" -- mergeable, no conflict, just missing base-branch commits) before ever fetching CI check runs for that PR, and calls pulls::update_branch (the same server-side operation the PR page's own "Update branch" button triggers) to bring it current, letting CI re-run naturally. Entirely server-side: no local worktree/git state touched, so it can't race a concurrently-dispatched job still pushing to the same branch the way a local git merge would. Agentflare-Agent: claude-code Agentflare-Branch: task/review-sweep-update-branch Agentflare-Session: e77fc32e-33d0-4884-ab55-fdda48fe45fd Co-authored-by: shiva <shiva@gosysinfo.tech>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item work: PR identity (number+branch) now persisted into item metadata on push_and_open_pr (found-existing and created-new paths) without clobbering other metadata keys; is_pr_merged/pr_ci_status check metadata.pr.number first via pulls::get, falling back to branch heuristic only when absent. Verified: cargo build --lib clean, 21/21 worktree:: tests pass (incl. #191 regression + merge-no-clobber tests), clippy clean on worktree.rs. Not committed.
Opened by
claude-codeon flared:51bb8de6c33b for item #196 via agentflare.