Reuse existing review requests#474
Draft
vkodithala wants to merge 1 commit into
Draft
Conversation
Prefer an existing requested reviewer or team before falling back to PR assignees or ownership-based reviewer selection for non-member approve reviews. Co-Authored-By: Oz <oz-agent@warp.dev>
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.
What
Prefer an existing requested reviewer or team when applying a successful non-member
/oz-reviewresult.Why
Repeated review runs should re-request the same pending reviewer instead of sampling another owner from ownership areas.
Linear: https://linear.app/warpdotdev/issue/APP-4655/reuse-existing-reviewers-for-oz-for-oss-review-requests
Public issue: #473
How
requested_reviewersandrequested_teamsbefore assignee and ownership fallback selection.Verification
/tmp/oz-for-oss-venv/bin/python -m unittest tests/test_review_pr_reviewer_sampling.py/tmp/oz-for-oss-venv/bin/python -m py_compile core/workflows/review_pr.py tests/test_review_pr_reviewer_sampling.pyConversation: https://staging.warp.dev/conversation/88e26142-7074-4987-a3ad-d1d03aecc7d2
Run: https://oz.staging.warp.dev/runs/019e8eac-a7f0-73f7-ab11-490077f67dc2
This PR was generated with Oz.