-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prow/plugins/blunderbuss: add /auto-cc command #10537
prow/plugins/blunderbuss: add /auto-cc command #10537
Conversation
Hi @ibrasho. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is my first functionality PR to test-infra, so I hope I didn't miss anything. 😁 I choose to refactor |
I took the command name from @fejta's comment`, but I'm not sure it's the best option.
Other options I thought about:
|
Also, we alternatively could automatically trigger this for PRs older than X. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool idea! Some comments on the impl
As you're doing the same work for the two events -- creation and comment triggering -- I think your decision makes sense. |
This is not an event-driven workflow and would be hard to implement as a plugin. If we need it, we can use the |
2aa0e75
to
0827f59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing I've noticed is that |
The concurrent test paradigm was recently added to |
ba42de0
to
60188d5
Compare
/ok-to-test |
60188d5
to
ecf5451
Compare
ecf5451
to
5ca930a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall implementation looks good, but I don't like /auto-assign
as the command, it is very misleading.
Blunderbuss does not assign users, rather it requests reviews from them. Today we have an /assign
command for assigning users and a /cc
command for requesting reviews from users. /auto-assign
sounds like an automatic version of /assign
, but this command really implements an automatic version of /cc
so I think a name like /auto-cc
would be more accurate and less misleading. If we were to implement an /auto-assign
command I would expect it to assign a suggested OWNERS file approver.
+1 for |
Personally, I'd prefer |
Is there any documentation that should be updated to reflect that we have a new command available for this? |
This will be used to generate plugin help information that is served from Prow's front end. https://github.com/kubernetes/test-infra/pull/10537/files#diff-ea943386c5188ebe891df8f3c91b56eeR68 You could also mention the new command in the "new features" section of ANNOUNCEMENTS.md: https://github.com/kubernetes/test-infra/blob/master/prow/ANNOUNCEMENTS.md#announcements |
f07f9ec
to
2f94e31
Compare
Needs a rebase, otherwise LGTM |
ping @ibrasho for rebasing |
2f94e31
to
d6eab93
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjwagner, ibrasho The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Rebased. |
Sorry but I forgot to mention that I don't think we need any mentions for |
d6eab93
to
29bc97e
Compare
29bc97e
to
665402d
Compare
I agree. I remove the extra commit and updated the previous ones. |
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
665402d
to
3f1628d
Compare
Thanks! Let's get it in before next rebasing notice. We can follow up if anything missed. /lgtm |
LGTM label has been added. Git tree hash: 44e287bac873059b5703a09a740bb2737a30c9b4
|
Adds a new
/auto-cc
command to blunderbuss to manually trigger assigning reviewers.Resolve #9519