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

Use a bot to add a warning comment on issues older than a month #7459

Closed
romainmenke opened this issue Jan 11, 2024 · 7 comments · Fixed by #7486
Closed

Use a bot to add a warning comment on issues older than a month #7459

romainmenke opened this issue Jan 11, 2024 · 7 comments · Fixed by #7486
Labels
status: wip is being worked on by someone type: infrastructure an improvement to devops

Comments

@romainmenke
Copy link
Member

romainmenke commented Jan 11, 2024

I missed this change and it threw me off a bit :)

I had an issue I was wanting to work on and last I remembered it was labeled as ready to implement but just before submitting a PR I noticed that the label was altered and now says ask to implement.

Was this change intentional?

I always read ready to implement as :

  • anyone can start work on this and open a PR with a potential fix
  • no further discussion or triage is needed in the issue

Whereas I read ask to implement as :

  • no work should be done and opening a PR is not advised
  • ask to be assigned to the issue first

I don't have any strong opinions on this and I am fine either way but the new message seems a lot less welcoming.

Maybe I am misreading it?

@romainmenke romainmenke changed the title ready to implement seems to have been renamed to ask to implement label ready to implement seems to have been renamed to ask to implement Jan 11, 2024
@ybiquitous
Copy link
Member

@romainmenke Yes, the label has been renamed recently. As I know, this discussion was a trigger: #4331 (comment)

Since some of ready to implement issues are very old, I think confirming the current status is good before tackling such an issue.

@jeddy3 Is my understanding correct?


Incidentally, we also need to update the maintainer guide mentioning ready to implement:

- _one_ of the non-need `status: *` labels, e.g. `status: ready to implement`

@ybiquitous ybiquitous added the status: needs discussion triage needs further discussion label Jan 12, 2024
@romainmenke
Copy link
Member Author

Got it!
Thank you for clarifying 🙇

Updating the maintainer guide would be nice because that is the first place I looked after noticing the change :)

@jeddy3
Copy link
Member

jeddy3 commented Jan 12, 2024

but the new message seems a lot less welcoming.

Yes, that's definitely one of the downsides of this change. Can we think of better wording?

Or, if anyone has time, turn on a bot that automatically adds a message to issues with the "ready to implement" label that are older than 1 month:

"This issue is older than 1 month. Even though it is labelled as "ready to implement", please ask before opening a pull request as it may no longer be relevant.

That way we can return to the more welcoming message.

Either way, if an issue is recent, I think we can just follow our existing approach of simply switching the label to wip and opening a PR. There is no need to ask specifically.

@jeddy3 jeddy3 changed the title label ready to implement seems to have been renamed to ask to implement Document ask to implement label Jan 12, 2024
@Mouvedia
Copy link
Member

Was this change intentional?

I always read ready to implement as :

  • anyone can start work on this and open a PR with a potential fix
  • no further discussion or triage is needed in the issue

That's what I thought as well but I learned the hard way—twice—that it wasn't the case.
If you are interested in old issues with a lot of 👍 like I was then you could end up working on a PR to have it closed without being merged in the end. The reason being that the old issues are not being re-checked regularly in regard to new decisions that were taken since their last labelling. Few people make big contributions for old issues like I do.

tl;dr: realistically, it shouldn't affect anyone but me, nonetheless better be safe than sorry.

@jeddy3 jeddy3 changed the title Document ask to implement label Use a bot to add a warning comment on issues older than a month Jan 20, 2024
@jeddy3 jeddy3 added status: ready to implement is ready to be worked on by someone type: infrastructure an improvement to devops and removed status: needs discussion triage needs further discussion labels Jan 20, 2024
@jeddy3
Copy link
Member

jeddy3 commented Jan 20, 2024

Or, if anyone has time, turn on a bot that automatically adds a message to issues with the "ready to implement" label that are older than 1 month:

"This issue is older than 1 month. Even though it is labelled as "ready to implement", please ask before opening a pull request as it may no longer be relevant.

I've labelled the issue for this as it feels like the optimal solution.

@ybiquitous
Copy link
Member

Finally, we've added a GitHub action for this automation and updated old issues!

See the action history:
https://github.com/stylelint/stylelint/actions/workflows/commenting-on-old-issues.yml

Also, see old issues with the "ask to implement" label:
https://github.com/stylelint/stylelint/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+ask+to+implement%22

@Mouvedia
Copy link
Member

The ratio is interesting.

ready to implement: 5
ask to implement: 55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: wip is being worked on by someone type: infrastructure an improvement to devops
4 participants