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

Exponential backoff #34

Closed
FranklinYu opened this issue Jan 24, 2020 · 4 comments
Closed

Exponential backoff #34

FranklinYu opened this issue Jan 24, 2020 · 4 comments
Labels

Comments

@FranklinYu
Copy link

FranklinYu commented Jan 24, 2020

Sometimes it’s annoying when stable bot repeatedly nag users. For example:

travis-ci/travis-ci#9430 (comment)

I think it would be helpful if users can specify exponential backoff. For example, first mark as stale in 2 months, then 4 months, then 8 months, then 16 months, then give up (or add a “long-running issue” label).

@Be-ing
Copy link

Be-ing commented May 9, 2020

In the linked case, you could exempt the "security" label. Problem solved.

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@mjambon
Copy link

mjambon commented Dec 13, 2021

@Be-ing the point is we still want to be reminded of old issues, but the time between two reminders should be proportional to the age of the issue. In other words, we want to be reminded more frequently of recent issues and less frequently of older issues.

This is because the bot doesn't understand the issues and the users don't tell the bot whether a particular issue is expected to get fixed within the week or within the next two years, which varies from one issue to another. So, when a user tells the bot "don't close this yet" it constitutes feedback that means roughly "please double the time until you can bug me again". It doesn't have to double, it could be 1.5 or any constant factor. Assuming a factor 2 for the sake of simplicity, this gives us the following schedule:

  • t0 + 1 month
  • t0 + 2 months
  • t0 + 4 months
  • t0 + 8 months
  • t0 + 16 months
    where t0 is when the issue was created. With this schedule, we'd get 4 reminders within the first year rather than 12, and I think it would be much nicer.

@FranklinYu
Copy link
Author

Even worse, even if I’m annoyed by the behavior, I cannot just “fork my own”, because I still need to persuade all the maintainers to use my fork before I can avoid such naggings.

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

3 participants