# \[Idea\] Bot for closing issues

**URL:** <https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479>\
**Category:** tools and infrastructure\
**Created:** [June 28, 2019, 3:53am UTC](https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479 "2019-06-28T03:53:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![christianpoveda](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/christianpoveda/32/5832_2.png) [@christianpoveda](https://internals.rust-lang.org/u/christianpoveda)\
**Post date:** [June 28, 2019, 3:53am UTC](https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479/1 "2019-06-28T03:53:01Z")

</div>

This idea appeared in a twitter thread: [https://twitter.com/Gankro/status/1144041406404661248](https://twitter.com/Gankro/status/1144041406404661248). I did a quick search here and could not found anything relevant to the matter (please forgive me if this has already been discussed).

Anyway I think it would be nice to have a bot in github to close old issues in the rust-lang repos that are no longer relevant in two steps: First a warning, and then closing it if no one answered to the warning. I don’t know if this could be done (or it is already done and I am missing it) by any of the existing bots.

If you consider this is a good idea I’d be more than happy to work on it 🙂

---

<div class="post-metadata">

**Author:** ![scottmcm](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/scottmcm/32/2355_2.png) [@scottmcm](https://internals.rust-lang.org/u/scottmcm)\
**Post date:** [June 28, 2019, 3:55am UTC](https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479/2 "2019-06-28T03:55:29Z")

</div>

Sounds like you might be interested in the triage working group 🙂

> **[Announcing The Triage WG](https://users.rust-lang.org/t/announcing-the-triage-wg/28909)**
>
> The Release team is pleased to announce the triage working group , which will assume responsibility from the release team for triaging issues and pull requests in the rust-lang repositories as well as for diagnosing failures in Crater runs. ...

---

<div class="post-metadata">

**Author:** ![ehuss](https://avatars.discourse-cdn.com/v4/letter/e/9de0a6/32.png) [@ehuss](https://internals.rust-lang.org/u/ehuss)\
**Post date:** [June 28, 2019, 5:07am UTC](https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479/3 "2019-06-28T05:07:33Z")

</div>

We used [stale bot](https://github.com/probot/stale) in the Cargo tracker for a while. It generally made people upset and caused too much disruption, so we stopped using it. I would not recommend using a bot to close issues.

---

<div class="post-metadata">

**Author:** ![Dylan-DPC](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/dylan-dpc/32/3151_2.png) [@Dylan-DPC](https://internals.rust-lang.org/u/Dylan-DPC)\
**Post date:** [June 28, 2019, 6:42am UTC](https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479/4 "2019-06-28T06:42:37Z")

</div>

Nice initiative but a few things

how do we differentiate between which issues are relevant and which are not? A lot of issues opened a few years back are still valid today.

People take time to reply. Even though our triage work is based that many times we do make exceptions or wait for a week or 2.

When you ping an author, it might be difficult for them to ascertain whether an issue is still valid. Many times they might not be using the code or have a smaller example ready.

---

<div class="post-metadata">

**Author:** ![christianpoveda](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/christianpoveda/32/5832_2.png) [@christianpoveda](https://internals.rust-lang.org/u/christianpoveda)\
**Post date:** [June 28, 2019, 7:42am UTC](https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479/5 "2019-06-28T07:42:39Z")

</div>

I believe that there should be the option to ignore issues by telling the bot to do it in a comment.

We could try to use longer time periods between warning and closing the issue.

About pinging the author I have mixed feelings, if the author needs more time to decide maybe there should be a way to extend a little bit the lifetime of the issue (maybe to two time periods?).

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)\
**Post date:** [September 26, 2019, 7:51am UTC](https://internals.rust-lang.org/t/idea-bot-for-closing-issues/10479/6 "2019-09-26T07:51:31Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
