Amphtml: I2I: Stale bot

Created on 6 Mar 2020  路  8Comments  路  Source: ampproject/amphtml

Summary

Install stale bot to automatically close issues that reach one year of inactivity.

daysUntilStale: 358
daysUntilClose: 7

The motivation is to reduce triage/issue management toil for maintainers by automatically and regularly cleaning up obsolete issues.

Not all inactive issues are obsolete however, so please feel free comment on the issue to avoid auto-closing or to request that a closed issue be reopened.

The stale bot will give a one week warning.

INTENT TO IMPLEMENT infra

Most helpful comment

My two suggestions from design review:

  • Change stateLabel to stale instead of wontfix (so we merely label the issue without making a judgement about whether it's actually worth fixing)
  • Increase grace period from 7 days to 14 days (I don't feel strongly about this)

Happy to help with actual installation of the app!

All 8 comments

162 issues that would be auto-closed as of 2020-03-01: https://github.com/ampproject/amphtml/issues?q=is%3Aissue+is%3Aopen+updated%3A%3C2019-03-01+

We can also decide on a label for opting out e.g. Indef.

/cc @ampproject/wg-infra

I've seen similar bots that, instead of/in addition to closing the issue, add a tag like "archived for inactivity". Do you know if this implementation has a feature like that?

(I'm thinking of the case where PM X wants to do something and says "I know we had a tracking issue for this but...")

It supports adding a label to stale issues.

# Label to use when marking an issue as stale
staleLabel: wontfix

My two suggestions from design review:

  • Change stateLabel to stale instead of wontfix (so we merely label the issue without making a judgement about whether it's actually worth fixing)
  • Increase grace period from 7 days to 14 days (I don't feel strongly about this)

Happy to help with actual installation of the app!

From https://github.com/ampproject/amphtml/issues/26576#issuecomment-598414390:

DV: what about stale but never triaged issues?
WC: Good point, could use another bot for this. TODO: Find the # of issues

There are 10 issues that are 1Y+ stale with no WG or priority label, and none of them look untriaged.

Happy to help with actual installation of the app!

I already requested installing into amphtml, I think it just needs approval. :)

I think an owner or admin of ampproject (@cramforce or @mrjoro) needs to approve.

Was this page helpful?
0 / 5 - 0 ratings