Skip to content
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

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

Open
carlosmiranda opened this issue Aug 11, 2015 · 24 comments
Open

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

carlosmiranda opened this issue Aug 11, 2015 · 24 comments
Labels

Comments

@carlosmiranda
Copy link

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..

@yegor256
Copy link
Owner

@carlosmiranda make sense, thanks

@yegor256 yegor256 added the bug label Aug 11, 2015
@alex-palevsky
Copy link
Contributor

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

@alex-palevsky
Copy link
Contributor

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

@alex-palevsky alex-palevsky added this to the 2.0 milestone Aug 11, 2015
@alex-palevsky
Copy link
Contributor

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

@alex-palevsky
Copy link
Contributor

@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

@dskalenko
Copy link

@alex-palevsky Yes, I am on it

@alex-palevsky
Copy link
Contributor

@alex-palevsky Yes, I am on it

@dskalenko thanks

@dskalenko
Copy link

@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.

@carlosmiranda
Copy link
Author

@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.

@dskalenko
Copy link

@alex-palevsky here is PR #1048

@alex-palevsky
Copy link
Contributor

@alex-palevsky here is PR #1048

@dskalenko thanks for that

@original-brownbear
Copy link
Contributor

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

@dskalenko
Copy link

@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.

@original-brownbear
Copy link
Contributor

@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!

@dskalenko
Copy link

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

@original-brownbear
Copy link
Contributor

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

@alex-palevsky
Copy link
Contributor

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

@dskalenko no problem, thanks for letting me know

@dskalenko
Copy link

@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

@original-brownbear
Copy link
Contributor

@dskalenko any news ? :)

dskalenko added a commit to dskalenko/rultor that referenced this issue Mar 20, 2016
@dskalenko
Copy link

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

@alex-palevsky
Copy link
Contributor

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

@dskalenko sure, no problem

@original-brownbear
Copy link
Contributor

@alex-palevsky this is postponed.

@alex-palevsky
Copy link
Contributor

@alex-palevsky this is postponed.

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

@alex-palevsky
Copy link
Contributor

@alex-palevsky this is postponed.

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

@yegor256 yegor256 removed this from the 2.0 milestone Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants