-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add needs-triage automation on k/k issues #11818
Conversation
/sig release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!. I will start using it immediately, even before any support for auto-assignment :)
prow/plugins.yaml
Outdated
missing_comment: | | ||
Awaiting SIG review/triage. | ||
|
||
If it's a valid issue, please assign the relevant tracking labels (kind,priority etc) and remove `needs-review`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this configuration does what you want based on the state machine diagram, but I'm also a bit confused by the terminology. My understanding is that this label is meant to be applied to PRs in the triage state in the diagram, but this will actually be applied to PRs in the waiting room as well. This could be avoided by changing the regexp to ^triage/|^needs-sig$
.
This message also suggests removing the needs-review
label, but doesn't say how. Labels shouldn't be manually added or removed by humans, especially this label since the automation will just replace the label if a human tries to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, changed the label, regex and made the diagram clearer.
You're right about automatically removing the 'needs-sig-triage' label, and I wonder what the trigger would be. Perhaps by applying a 'lifecycle' label as in here: kubernetes/community#3455? That should be decided for the bigger picture
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't mind if the label is applied in the waiting room, it's equally true. That said, having been sig-triaged without a sig is a weird state to be left in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we're thinking of utilizing lifecycle
labels as status indicators (lifecycle/ready to be worked on - lifecycle/active in progress - forgottenfrozen - stale etc), with exit criteria of needs-triage
to be
regexp: ^(lifecycle)/(ready|active|frozen)$
/hold This needs to be broadly communicated: https://github.com/kubernetes/community/blob/master/sig-contributor-experience/charter.md#cross-cutting-and-externally-facing-processes Will take a look tomorrow (my timezone). also cc @kubernetes/sig-contributor-experience-pr-reviews |
Status on this? |
/hold
How does that sound? |
@spiffxp I believe that since this feature solves a problem where currently there's no solution at all, and people are explicitly requesting for it (SIG leads in particular) it can't be called an experiment. re: stale / fallback every 90 days, I have already suggested upping the interval to 120 or more so this happens less frequently.
and ultimately, less toil over issue triage and further management. |
cheers! |
@nikopen Any time you're changing labels, automation, and workflows it's disruptive to contributors. As I've mentioned previously, I've been down this road before and received many complaints when we change things during important times in the cycle, or without excessive communication. You're adding two extra labels to ~175 repos, and adding a comment requesting action being taken to 1550 open issues in k/k right now (https://github.com/kubernetes/kubernetes/issues?q=is%3Aopen+is%3Aissue+-label%3Alifecycle%2Factive+-label%3Alifecycle%2Ffrozen). This isn't an action to be taken lightly. I think we already have some stuff on the agenda for this week's meeting (6/5) anyways, so maybe we want to pencil this in for discussion on our 6/12 meeting at 9:30am PT? Would that work for you? |
To be clear: I'm very happy that you're spearheading this, @nikopen. I very much would like a triage workflow that we can adopt project-wide. I'm just wanting to convey that these are large scope actions anytime we're talking about project-wide, or even k/k-wide changes. They impact a lot of issues and a lot of contributors. |
From that perspective indeed it seems like a bigger change! Happy that you're happy too. Next week sounds good, let's speak soon |
Added to our agenda 👍 |
@nikopen I am also happy you're spearheading this effort. I frame in terms of experiment to suggest that we define what our expected outcome is, try the thing, and adjust if the actual outcome isn't what we expected. You list a lot of great bullet points, I'm just asking... how will we know if those are actually happening? re: my comment on lifecycle labels, I was trying to point out that the use of those lifecycle label implies re-triaging is necessary every 90 days, and it wasn't clear to me that's what the intended outcome of the discussion was I've seen this far. Perhaps we want to contrast that with a label that isn't auto-removed, to imply that triaged-once is good enough. |
/priority important-soon |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
@nikopen -- Any plans to pick this back up for 1.18? |
Superseded by #16298, since this has stalled out. |
@justaugustus: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@nikopen: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Following the discussion on https://groups.google.com/forum/#!topic/kubernetes-sig-contribex/BvGmOQ0v5f0 , a new label is proposed:
needs-sig-triage
or similar.Purpose of which is the following desired workflow:
i.e. - incoming new issue gets this label automatically, which signifies that it needs to be reviewed by the relevant SIG. After reviewing, it gets appropriate labels, is prioritized, or deleted if it's invalid / support request etc.
interrelated issue on how this will ultimately work - automatically triggered/de-triggered in kubernetes/community#3455
Open to suggestions on a different label and and overall comments.