-
Notifications
You must be signed in to change notification settings - Fork 59
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
BOUNTY_HUNTER_MAX_OPENED_ISSUES
Configuration
#245
Comments
BOUNTY_HUNTER_MAX_OPENED_ISSUES
Configuration
/start |
@seprintour The time limit for this bounty is on Thu, 04 May 2023 06:39:37 GMT Your currently set address is: |
Will the second issue be rejected too and an exception if a PR is linked to the first issue already? @pavlovcik |
Keep it simple, don't check linked PRs, simply check how many open issues a bounty hunter already have. If a bounty hunter prints |
/start |
@seprintour The time limit for this bounty is on Thu, 04 May 2023 22:34:57 GMT Your currently set address is: |
Okay, made a PR with the check |
it should check for linked PRs, sometimes PRs stay open a lot longer (awaiting reviews or team unavailability) |
Because a PR is linked, doesn't mean the hunter is done with the task.. so it can be exploited But yea, we can look at the max number |
I just think PRs should be handled more quickly, its really slow |
I don't think so, trying to abuse that system will result in a ban, |
The benefit of our setup is that we have core contributors who keep common sense in the system (and can easily notice hunters attempting to exploit the system) while we have the bot handle the rest. |
|
[ CLAIM 200 DAI ]
|
An improvement idea is to check all of the open pull requests of the bounty hunter, and then check the state of the pull request review. If they have a pull request open but no review started, then it counts against their quota. If they have a pull request opened and also have a "review" in progress (perhaps there is an api to get a Boolean for this) then they are able to start working on another bounty. Next level beyond could be a |
And maintainers/members should be exempted from the limits. |
Technically they can override this behavior as they are able to use the GitHub UI to assign themselves! But I know that multitasking is less efficient than single tasking for producing high quality work. |
BOUNTY_HUNTER_MAX_OPENED_ISSUES
environment variable to override the maximum amount of issues that a bounty hunter can simultaneously work on. Set the default the value to2
. This is intended to accommodate the following scenario:Originally posted by @pavlovcik in #134 (comment)
P.S. When this task is ready we should also add the
BOUNTY_HUNTER_MAX_OPENED_ISSUES
to the config generation pageThe text was updated successfully, but these errors were encountered: