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

Change Stale Thresholds #5360

Merged
merged 7 commits into from
Aug 2, 2022
Merged

Conversation

Pandapip1
Copy link
Member

@Pandapip1 Pandapip1 commented Jul 28, 2022

Abstract

The stale bot thresholds are too high. This PR reduces them.

Motivation

Reduces EIP Editor work.

Specification

  1. The stale issue threshold was reduced from 6 months to four weeks
  2. The stale PR threshold was reduced from two months to two weeks
  3. The close PR threshold was increased from one week to two weeks
  4. The stale PR label was changed to a more descriptive one

Rationale

  1. Encourages people to discuss relevant issues, and reduces the time it takes for irrelevant issues to disappear. Issues may be re-opened at any time if they become relevant again.
  2. Encourages authors to update their EIP with editor-provided feedback or remind editors to review. PRs may be re-opened at any time if the author re-gains interest.
  3. Since item 2 reduced the threshold so much, the PR close threshold was increased to give authors enough time to ensure that their PRs will not be mistakenly closed.
  4. If the editors are actually the ones that need to review, the author will quickly make that clear, which will remove the stale tag.

@eth-bot
Copy link
Collaborator

eth-bot commented Jul 28, 2022

All tests passed; auto-merging...

(pass) .github/workflows/stale.yml

classification
ambiguous
  • file .github/workflows/stale.yml is not a valid filename, but this error has been ignored due to editor approvals

@MicahZoltu
Copy link
Contributor

These feel way to aggressive to me. We very often have authors who take a month or two to apply feedback.

I'm curious what problem you are trying to solve with these shorter timelines. A large number of open pull requests isn't a problem in itself, but perhaps it causes some problem for editors that I'm unaware of?

@Pandapip1
Copy link
Member Author

Perhaps it causes some problem for editors that I'm unaware of?

It's just a lot easier for an author to reopen closed PRs than it is to scan through 70+ PRs to find ones that I haven't yet reviewed. If an author takes 2 months to apply a change, then does it really need to be in the PR list the entire time? Once the change is made, reverting the stale bot is as simple as clicking the "Re-Open" button.

@MicahZoltu
Copy link
Contributor

It's just a lot easier for an author to reopen closed PRs than it is to scan through 70+ PRs to find ones that I haven't yet reviewed.

If we continue to iterate on and improve the labeling system, can this problem be addressed that way (so you can filter by label)?

What if we swapped the durations around so it was 2 weeks to flag as stale, then 6 months after that to close? That way editors can filter out stale issues/PRs aggressively.

If an author takes 2 months to apply a change, then does it really need to be in the PR list the entire time? Once the change is made, reverting the stale bot is as simple as clicking the "Re-Open" button.

One can imagine a stale bot that closes PRs after 24 hours for the same reasons you have listed. I feel like 24 hours is "obviously too short". What is unclear to me is what is the threshold for too short. There are authors who check their EIPs only on the weekends, so one could argue for one week. But sometimes people get busy on their weekend so maybe it takes them a few weeks. Other times authors iterate outside of the EIP process and then show back up after much discussion to make updates to their PRs, like will probably be the case with #5353.

While your argument can stand for any duration, we ideally want to pick a value that results in the least amount of thrash (closing and opening PRs), else we might as well just have the bot auto-close after 24 hours so our PR list is perpetually empty.

@Pandapip1
Copy link
Member Author

Pandapip1 commented Jul 30, 2022

What if we swapped the durations around so it was 2 weeks to flag as stale, then 6 months after that to close? That way editors can filter out stale issues/PRs aggressively.

I would be okay with that. That does indeed seem like the best option. The intent was two months, however, and I feel like two months is more than enough time to push a commit.

@MicahZoltu
Copy link
Contributor

I think I'm OK with the latest iteration you have here. Would like to get some feedback from other editors before merging though.

@Pandapip1
Copy link
Member Author

Pandapip1 commented Aug 2, 2022

It's been two days. Taking no signs of 👎 as a proxy for approval. Merging.

@Pandapip1 Pandapip1 marked this pull request as ready for review August 2, 2022 14:59
@Pandapip1 Pandapip1 closed this Aug 2, 2022
@Pandapip1 Pandapip1 reopened this Aug 2, 2022
@eth-bot eth-bot enabled auto-merge (squash) August 2, 2022 15:00
@eth-bot eth-bot merged commit f1d878e into ethereum:master Aug 2, 2022
@Pandapip1 Pandapip1 deleted the change-stale-threshold branch August 3, 2022 00:01
@MicahZoltu
Copy link
Contributor

It's been two days. Taking no signs of 👎 as a proxy for approval. Merging.

Please wait for at least one approval before merging. Again, the bot is broken at the moment but we shouldn't be abusing that. Also, we generally give other editors many weeks to provide feedback since I think you and I are the only two editors who look at things daily. Most editors checkin weekly or monthly.

MicahZoltu added a commit that referenced this pull request Aug 3, 2022
MicahZoltu added a commit that referenced this pull request Aug 3, 2022
@MicahZoltu
Copy link
Contributor

I reverted this change since it was merged prematurely (see #5397). I recommend re-opening this PR as I think it is a good idea.

@Pandapip1 Pandapip1 restored the change-stale-threshold branch August 3, 2022 11:43
@Pandapip1 Pandapip1 mentioned this pull request Aug 3, 2022
nachomazzara pushed a commit to nachomazzara/EIPs that referenced this pull request Jan 13, 2023
* Update stale bot config

* Remove extra space

* Increase threshold

* Undo non-relevant changes

* Flip flop
nachomazzara pushed a commit to nachomazzara/EIPs that referenced this pull request Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants