rultor icon indicating copy to clipboard operation
rultor copied to clipboard

Rultor should not ask architect to confirm merge on a closed PR

Open carlosmiranda opened this issue 9 years ago • 24 comments

See the following PR on the xockets-layer project:

image

In this project, I'm the architect and I mistakenly asked Rultor to merge when I meant deploy. It correctly told me that the PR is closed. However, a few minutes later the code reviewer also asked Rultor to merge (perhaps also by mistake), but it then asked me to confirm the merge.

This is confusing. If a PR is closed, Rultor should show the same message as the one it addressed to me, instead of asking me to confirm a command which would be rejected anyway..

carlosmiranda avatar Aug 11 '15 04:08 carlosmiranda

@carlosmiranda make sense, thanks

yegor256 avatar Aug 11 '15 09:08 yegor256

@carlosmiranda I am aware of the task, give me some time to find a developer...

alex-palevsky avatar Aug 11 '15 13:08 alex-palevsky

@carlosmiranda milestone set to 2.0 (correct me if I am wrong)

alex-palevsky avatar Aug 11 '15 13:08 alex-palevsky

@carlosmiranda thanks for the ticket, your account was topped for 15 mins, payment 62918784

alex-palevsky avatar Aug 11 '15 13:08 alex-palevsky

@dskalenko could you please pick this up? This article explains how we work. Any technical questions you may ask right here; The budget here is 30 mins, which is exactly how much time will be paid for, when the task is completed

alex-palevsky avatar Mar 04 '16 12:03 alex-palevsky

@alex-palevsky Yes, I am on it

dskalenko avatar Mar 04 '16 12:03 dskalenko

@alex-palevsky Yes, I am on it

@dskalenko thanks

alex-palevsky avatar Mar 07 '16 12:03 alex-palevsky

@carlosmiranda @alex-palevsky I did some investigation and seems this situation, when Rultor may ask architect to confirm a command which would be rejected anyway, potentially may be not only for merge. So in this case fix should be done for all such commands (unlock, lock, merge, deploy, release ...). But the role of "Architect" can be violated in this case, because each command should be confirmed by architect at the beginning (at least I understood it from source). Example (described in this issue) really a little bit confused, but it's just because of commands done by mistake (I don't know if it happens often). And let's consider contra-example : UserA ask for merge closed PR-> Rultor ask for architect confirmation. In meantime owner of PR reopened particular PR. When architect confirm this command it would not be rejected. So from my opinion we have 3 options :

  1. leave as it is
  2. fix for all such commands
  3. try fix only for merge (for me it's a little bit complicated for current implementation) Hope you understand what I mean.

Please help me dispel my doubts and choose correct way. Thanks.

P.S. it's only my opinion - correct me if I am wrong.

dskalenko avatar Mar 07 '16 23:03 dskalenko

@dpisarenko The situation I'm asking above specifically pertains to merge, so let's limit it to that. It's only impossible to re-merge a merged branch, deploy or release commands are not restricted.

carlosmiranda avatar Mar 08 '16 00:03 carlosmiranda

@alex-palevsky here is PR #1048

dskalenko avatar Mar 09 '16 22:03 dskalenko

@alex-palevsky here is PR #1048

@dskalenko thanks for that

alex-palevsky avatar Mar 10 '16 14:03 alex-palevsky

@dskalenko this ticket has been with you quite a while now, any update ?

original-brownbear avatar Mar 16 '16 13:03 original-brownbear

@original-brownbear I did fix of this issue, but since my fix was rejected and I have to create new test (which not so easy to do), I need more time.

dskalenko avatar Mar 16 '16 16:03 dskalenko

@dskalenko no problem, but please when it comes to more time @alex-palevsky needs to be informed asap. I'm just here for the tech not the schedule. Just tell him you nee more time!

original-brownbear avatar Mar 16 '16 16:03 original-brownbear

@alex-palevsky I need more time to complete this issue

dskalenko avatar Mar 16 '16 17:03 dskalenko

@dskalenko thanks for reporting that, could you give some time frame to expect here too please?

original-brownbear avatar Mar 16 '16 17:03 original-brownbear

@alex-palevsky I need more time to complete this issue

@dskalenko no problem, thanks for letting me know

alex-palevsky avatar Mar 16 '16 19:03 alex-palevsky

@dskalenko thanks for reporting that, could you give some time frame to expect here too please?

@original-brownbear I'll do my best to complete to the end of week

dskalenko avatar Mar 16 '16 19:03 dskalenko

@dskalenko any news ? :)

original-brownbear avatar Mar 20 '16 11:03 original-brownbear

@alex-palevsky Please find other person to fix this issue. Thanks

dskalenko avatar Mar 24 '16 11:03 dskalenko

@alex-palevsky Please find other person to fix this issue. Thanks

@dskalenko sure, no problem

alex-palevsky avatar Mar 24 '16 16:03 alex-palevsky

@alex-palevsky this is postponed.

original-brownbear avatar Mar 30 '16 19:03 original-brownbear

@alex-palevsky this is postponed.

@original-brownbear got it, "postponed" label here

alex-palevsky avatar Mar 31 '16 19:03 alex-palevsky

@alex-palevsky this is postponed.

@original-brownbear someone else will help in this task, no problem at all

alex-palevsky avatar Mar 31 '16 19:03 alex-palevsky