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

k8s-triage-robot should not be closing important bugs #25967

Open
1 of 4 tasks
wojtek-t opened this issue Apr 15, 2022 · 26 comments
Open
1 of 4 tasks

k8s-triage-robot should not be closing important bugs #25967

wojtek-t opened this issue Apr 15, 2022 · 26 comments
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.

Comments

@wojtek-t
Copy link
Member

wojtek-t commented Apr 15, 2022

We were just chatting with @liggitt about reliability bar and one of the AIs from the discussions was to ensure that important bugs actually aren't closed.

Basically, any issue that is marked with:
kind/bug
priority/{important-soon,important-longterm,critical-urgent}

should not be touched by k8s-triage-robot for marking as state/rotten/closed

Couple different jobs in this file have to be updated to do this.

Summarizing later discussion, the AIs are:

  • we want to proceed with not closing issues that are what's originally proposed + triage/accepted
  • we want to ensure that SIGs are actually triaging issues
  • we want to ensure that issues that don't have SIG assigned are also triaged
  • we want to additionally provide some customization for timelines (e.g. enhancements repo wants more than 3 months for getting stale)

@kubernetes/sig-contributor-experience
/help wanted

@k8s-ci-robot k8s-ci-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Apr 15, 2022
@wojtek-t
Copy link
Member Author

/sig contributor-experience

@k8s-ci-robot k8s-ci-robot added sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Apr 15, 2022
@liggitt
Copy link
Member

liggitt commented Apr 15, 2022

xref kubernetes/kubernetes#103151

I agree with this scoped starting point. A confirmed bug that is marked important/critical should not be autoclosed.

@liggitt
Copy link
Member

liggitt commented Apr 15, 2022

I could actually see the stale/rotten labels being useful/interesting to indicate inactivity/neglect, but not auto-closing

@wojtek-t
Copy link
Member Author

I could actually see the stale/rotten labels being useful/interesting to indicate inactivity/neglect, but not auto-closing

+1 - didn't think about it but it makes perfect sense

Also thanks for cross-referencing.
Adding some folks here explicitly then:
@dims @BenTheElder @sftim @ehashman @spiffxp

@liggitt
Copy link
Member

liggitt commented Apr 15, 2022

@wojtek-t
Copy link
Member Author

Should we just go ahead and reopen them?
[Not now, but after changing the bot]

@BenTheElder
Copy link
Member

The bot does search queries so changing them is trivial, but up to contributor experience to approve.

I think the problem is "confirmed" bug.

E.g. you could just apply /lifecycle frozen to accepted bugs but anyone can do this. It's also true for /kind bug and /priority critival-urgent though.

@sftim
Copy link
Contributor

sftim commented Apr 16, 2022

I'd be happy to see accepted issues never closing, or rotting with a much longer interval (eg 12 months). We can still explicitly freeze key issues.

@mrbobbytables
Copy link
Member

mrbobbytables commented Apr 18, 2022

I agree that keeping their lifecycle state is useful knowledge, and I believe bugs labeled with triage/accepted not closing is an acceptable middle-ground. Only org members can use the command, so I think there is sufficient gating to prevent abuse.

IMO - It's probably worth sending to the contribex/k-dev mailing lists+community meeting this week for broader discussion.

@jberkus
Copy link
Contributor

jberkus commented Apr 18, 2022

.... or even adding it to the Community Meeting agenda.

@wojtek-t
Copy link
Member Author

We just discussed that during the community meeting.

The outcome was that:

  1. we want to proceed with not closing issues that are what's originally proposed + triage/accepted
  2. we want to ensure that SIGs are actually triaging issues
  3. we want to ensure that issues that don't have SIG assigned are also triaged
  4. we want to additionally provide some customization for timelines (e.g. enhancements repo wants more than 3 months for getting stale)

All of those are valid requests, but we shouldn't block (1) on the other.

So

here is the query (for k/k example) of the issues that should NOT be closed:

https://github.com/kubernetes/kubernetes/issues?q=is%3Aissue+-label%3Alifecycle%2Ffrozen+label%3Alifecycle%2Frotten+label%3Akind%2Fbug+label%3Atriage%2Faccepted+label%3Apriority%2Fcritical-urgent%2Cpriority%2Fimportant-soon%2Cpriority%2Fimportant-longterm+

here is the query that is used currently:
https://github.com/kubernetes/kubernetes/issues?q=is%3Aissue+-label%3Alifecycle%2Ffrozen+label%3Alifecycle%2Frotten

But I didn't yet figure out how to get the diff from those two. Any hints?

@cblecker
Copy link
Member

@cblecker
Copy link
Member

@wojtek-t
Copy link
Member Author

@cblecker - thanks; the announcement have been sent in:
https://groups.google.com/a/kubernetes.io/g/leads/c/PYjDxRh8ghQ

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 21, 2022
@wojtek-t
Copy link
Member Author

/remove-lifecycle stale

There are still things to do described in:
#25967 (comment)

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 21, 2022
@jberkus
Copy link
Contributor

jberkus commented Jul 21, 2022

Can you render that as a checklist in the original issue comment so that everyone knows what still needs to be done? Thanks!

@wojtek-t
Copy link
Member Author

Can you render that as a checklist in the original issue comment so that everyone knows what still needs to be done? Thanks!

Done

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 20, 2022
@marcindulak
Copy link

👀

@wojtek-t
Copy link
Member Author

wojtek-t commented Nov 2, 2022

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 2, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 31, 2023
@wojtek-t
Copy link
Member Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 31, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 1, 2023
@BenTheElder BenTheElder added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 1, 2023
@wojtek-t
Copy link
Member Author

wojtek-t commented May 2, 2023

/remove-lifecycle stale

@BenTheElder
Copy link
Member

@wojtek-t do we have any further changes to discuss here?

we have a few related issues and I think it's gotten scattered over time ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience.
Projects
None yet
Development

No branches or pull requests

10 participants