Skip to content

feat: Add support for no-response-bot - #3873

Merged
lipis merged 5 commits into
masterfrom
stalebot
Feb 5, 2018
Merged

lipis merged 5 commits into
masterfrom
stalebot

Conversation

@lipis

@lipis lipis commented Feb 1, 2018

Copy link
Copy Markdown
Member

More about the bot here: https://probot.github.io/apps/stale/

Let me know about the settings that we want if we are about to add this bot, to help with outdated issues.

Potential issues that could be marked as stale (older than 90 days):
https://github.com/prettier/prettier/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+is%3Aissue+is%3Aopen+updated%3A%3C2017-11-01+-label%3Atype%3Abug+

We could also exclude maybe the status:needs discussion.

@lipis lipis added the status:needs discussion Issues needing discussion and a decision to be made before action can be taken label Feb 1, 2018
Comment thread .github/stale.yml Outdated
@@ -0,0 +1,16 @@
# Number of days of inactivity before an issue becomes stale

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could remove the comments before merge

@suchipi

suchipi commented Feb 2, 2018

Copy link
Copy Markdown
Member

Does people adding 👍s count as activity? Because if not, I could see this closing some issues that we're intentionally leaving open awaiting community demand.

@lydell

lydell commented Feb 2, 2018

Copy link
Copy Markdown
Member

The number of open issues is growing, yes, but slowly. We're pretty good a triaging, so most of the open issues should be relevant. Perhaps we don't need a bot until we reach 500 or 1000 open issues or something.

@lipis

lipis commented Feb 2, 2018

Copy link
Copy Markdown
Member Author

If we need a community demand then we can add the Help Needed label also to the exempt list.. but I've seen a bunch of them that we await response and response is not there..

just voting 👍 I don't think that it counts as activity.. but of course if someone comments that means it's updated.. I've seen this bot in many projects.. it's quite friendly :)

@azz

azz commented Feb 2, 2018

Copy link
Copy Markdown
Member

A lot of the issues are minor "ugly code" issues. They're actionable but quite low priority. We often link to duplicates. Won't stalebot close these issues?

@lipis

lipis commented Feb 2, 2018

Copy link
Copy Markdown
Member Author

The bot is not closing them right away.. first it will post a comment there so all the affected parties will be notified.. and if anyone is going to comment that is needed or let's wait (or whatever) we have 90 more days until the next ping.. if nothing happens in 7 days the bot will close it down.. but usually humans will be closing the issues and not the bot.. unless nobody cares about a specific issue anyway :)

Of course once installed.. we might see a bunch of issues popping up because of that.. but it will also going to be a good time to revisit these issues and add the right label to it if needed more attention.. otherwise let's close some issues, to not ever reach 500 or 1000 open issues..

@j-f1

j-f1 commented Feb 2, 2018

Copy link
Copy Markdown
Member

It would be really useful to have a custom bot that runs on each release and posts a comment if Prettier‘s output has changed in the example in the OP. Additionally, if the output matches the input, it should add a label indicating that we need to add a regression test for this.

@lipis

lipis commented Feb 2, 2018

Copy link
Copy Markdown
Member Author

After we are done with this bot, we should create another one that actually fixes the bugs and creates new PRs with the fixes.. 🍻 🍷 💨 😄

@suchipi

suchipi commented Feb 2, 2018

Copy link
Copy Markdown
Member

I think this bot is cool, but it doesn't fit our current triage workflow, so we shouldn't add it.

@j-f1

j-f1 commented Feb 2, 2018

Copy link
Copy Markdown
Member

no-response might be a good idea though — we can use it to automatically close issues that are status:awaiting response.

@lipis

lipis commented Feb 2, 2018

Copy link
Copy Markdown
Member Author

@j-f1 There is no such option to include only specific labels.. https://github.com/probot/stale#usage

@j-f1

j-f1 commented Feb 2, 2018

Copy link
Copy Markdown
Member

I was talking about https://probot.github.io/apps/no-response/ :)

@lipis lipis changed the title feat: Add support for stale bot feat: Add support for no-response-bot Feb 4, 2018
@lipis

lipis commented Feb 4, 2018

Copy link
Copy Markdown
Member Author

I update the PR with the no-response bot..

@j-f1 j-f1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but I’d like to hear what other maintainers think.

@azz

azz commented Feb 4, 2018

Copy link
Copy Markdown
Member

21 days seems very generous. Why not 5-7?

@lipis

lipis commented Feb 5, 2018

Copy link
Copy Markdown
Member Author

I'm up for a week as well tbh..

@lydell

lydell commented Feb 5, 2018

Copy link
Copy Markdown
Member

I think 5–7 is too little. People go on vacations sometimes :) Perhaps a compromise, then? 14 days? On the other hand, if a bot is going to enforce the time limit it doesn't hurt if it's a little longer, does it?

@azz

azz commented Feb 5, 2018

Copy link
Copy Markdown
Member

🤷‍♂️ Lets go with 2 weeks and see how we go.

@lipis

lipis commented Feb 5, 2018

Copy link
Copy Markdown
Member Author

14 it is :) we can adjust it later if needed.. or remove it completely if it's too aggressive.

@lipis lipis removed the status:needs discussion Issues needing discussion and a decision to be made before action can be taken label Feb 5, 2018
@lipis
lipis merged commit 2310c40 into master Feb 5, 2018
@lipis
lipis deleted the stalebot branch February 5, 2018 21:33
@lipis

lipis commented Feb 5, 2018

Copy link
Copy Markdown
Member Author

Nice and polite.. it works :)

lipis added a commit that referenced this pull request Feb 5, 2018
* 'master' of github.com:prettier/prettier:
  Remove commented out code (#3886)
  feat: Add support for no-response-bot (#3873)
  refactor(printer-postcss): use `node` name and implement helper functions (#3893)
  tests(css): custom media (#3879)
  Add 3YOURMIND to users.yml (#3881)
  fix(css): stringify unquoted data urls (#3877)
  fix(css): at rules improve formatting and tests (#3828)
  Add option philosophy to docs (#3855)
  docs: add information about precise-commits (#3818)
lipis added a commit that referenced this pull request Feb 6, 2018
* 'master' of github.com:prettier/prettier:
  60,000+ dependencies (#3901)
  Revamp landing page (#3718)
  Remove commented out code (#3886)
  feat: Add support for no-response-bot (#3873)
  refactor(printer-postcss): use `node` name and implement helper functions (#3893)
@lock lock Bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 18, 2019
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants