Conversational re-reviews: feed the previous review thread back #79
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/wuming#79
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every push to a PR triggers a fresh review with no memory of the previous one. Findings that were answered, fixed, or declined in earlier waves get re-litigated, because the reviewer never sees its own prior thread or the responses to it.
Evidence from #75: waves 480-483 re-raised items effectively settled in wave 479's thread (the
agentsexample style, the keyless-server wording), and each wave was reviewed as if none of the discussion had happened.Re-reviews should include the PR's prior WuMing review comments and the responses to them, so each wave continues the conversation instead of restarting it.
Wave 2 plan (convergence: within-PR memory and bounds). Explored the code; the reviews API already gives us most of the raw material.
Findings from exploration
ForgejoClient.list_review_comment_bodies()already walksGET /pulls/{index}/reviews+ per-review inline comments — but flattens to bodies only, discarding author,commit_id, and timestamps.commit_id(the SHA the review ran against) — prior-wave state is available statelessly, no storage needed.src/wuming/agents/; PR thread comments are posted viaForgejoClient.post_comment().Plan of attack for this issue (conversational re-reviews)
feat/issue-79-review-context(after #107 fix-up merges)list_reviews()(id,commit_id, body, inline comments with path/author/body/created), reusing it for the existing marker dedup## WuMingreview-body prefix) + PR-thread comments posted after it (human responses), filtered per agent to that agent's routed files, hard-capped in sizeWUMING_REVIEW_CONTEXT(default on;falsedisables) — action.yml input in the same PRSequencing: #107 fix-up → this → #85 (skip unchanged since last review
commit_id) → #84 (round cap + low-only soft stop). #80/#77 (cross-PR ground) are wave 3.