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
Sometimes a PR is immediately accepted/rejected #199
Comments
Yeah it's bad but we do have a larger voting threshold now. |
That's true, will offset the risk a bit atm as the PR will need to gather enough votes in under 30 seconds or whatever the |
Checking against the more recent of |
That was my original strategy for gaining power! Details: #162 (comment) |
@ECrownofFire does creation time reflect opened time? |
I think it'd be best to do |
And to solve that issue in #162 I'd suggest that chaosbot close previously merged/rejected PRs. It'd also be good to reject (non-WIP) PRs that have sat for over 24 hours without being merged, for the same reasons. |
@ECrownofFire an insta-merge can still happen with that if the author closes the PR just before the voting period ends. |
Closed PRs aren't considered for merging, or am I misunderstanding you? |
|
Similar to what @PlasmaPower said, would |
I don't think created_at changes when a PR is closed or opened though. |
Oh, you're talking about the original bug. Yeah that'd work. |
For your attack vector @PlasmaPower, I ran some tests:
So it looks grim. However, I did find out about the issue locking api, which should work for PRs too. The progression would be:
Thoughts? |
That sounds good to me, but you could still pull off the attack using WIP instead of closing the PR yourself. |
Ah, true. Maybe we should do away with WIP PRs? They don't seem to be used very much anyways |
#271: get true PR pushed_at datetime Description: This should fix a number of issues, but it needs sanity checking. Underlying issue mentioned #199 and #147 and #239 (comment) 🙆♀️ PR passed with a vote of 11 for and 0 against, with a weighted total of 11.0 and a threshold of 6.1. Vote record: @akilegaspi: 1 @amoffat: 1 @andrewda: 1 @bengjerstad: 1 @droogmic: 1 @eukaryote31: 1 @kumardeepakr3: 1 @ozyx: 1 @qgustavor: 1 @reddraggone9: 1 @rhengles: 1
This issue hasn't been active for a while.To keep it open, react with 👎 on the |
/vote close |
Vote failed |
This should be fixed by #420 |
@mark-i-m aha, events! very creative! |
/vote close |
Command Ran |
⛔ The issue has been closed after a vote. |
Vote Failed |
Vote Failed |
8 similar comments
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
17 similar comments
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Vote Failed |
Command Ran |
⛔ The issue has been closed after a vote. |
i.e.
@amoffat:
Agreed. Needs to be patched ASAP!
Or we'll risk another autocracy.
Or worse...
The text was updated successfully, but these errors were encountered: