Skip to content

keps/contribex: Add KEP-1553 (Issue Triage Workflow and Automation) - #1554

Merged
k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
justaugustus:issue-triage
Apr 9, 2020
Merged

k8s-ci-robot merged 1 commit into
kubernetes:masterfrom
justaugustus:issue-triage

Conversation

@justaugustus

@justaugustus justaugustus commented Feb 15, 2020 •

Copy link
Copy Markdown
Member

Improve issue triage in kubernetes/kubernetes by defining a workflow and automation for contributors.

Signed-off-by: Stephen Augustus saugustus@vmware.com

Note: This PR uses the modified KEP template being proposed in #1545

/milestone v1.18
/priority important-soon
/kind feature
/sig contributor-experience pm release
cc: @kubernetes/sig-release-admins

ref:

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 15, 2020
@justaugustus justaugustus mentioned this pull request Feb 15, 2020
5 tasks done
@justaugustus

Copy link
Copy Markdown
Member Author

/hold this is WIP

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 15, 2020
@justaugustus justaugustus changed the title [WIP] keps/contribex: Add KEP-1553 (Issue Triage Workflow and Automation) keps/contribex: Add KEP-1553 (Issue Triage Workflow and Automation) Feb 15, 2020
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 15, 2020
@justaugustus
justaugustus force-pushed the issue-triage branch 2 times, most recently from 3e42fa6 to fe899e0 Compare February 15, 2020 22:23
@justaugustus

Copy link
Copy Markdown
Member Author

This is ready for a first-pass review!
/assign @cblecker @nikhita @thockin @mrbobbytables @Phillels

@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. kind/feature Categorizes issue or PR as related to a new feature. sig/pm sig/release Categorizes an issue or PR as relevant to SIG Release. labels Feb 15, 2020

@mrbobbytables mrbobbytables 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.

Thanks for pushing this forward @justaugustus. I think is good enough to merge in its current state -- We can follow up with fleshing it out more.

The big big big thing will be giving proper notice and communicating the workflow change to all the SIGs.

@justaugustus

Copy link
Copy Markdown
Member Author

@kubernetes/release-team -- PTAL when you have a chance. This will affect workflow for the next cycle, so I'd really like some eyes on.

--

The big big big thing will be giving proper notice and communicating the workflow change to all the SIGs.

💯 exactly why I want to push on this before we hit the cycle boundary.
The best time for these changes to land is right after a release, so I think this will give us lots of time to work out any details and appropriately communicate.

@justaugustus

Copy link
Copy Markdown
Member Author

@thockin --

I agree we need good docs and socialization of it. The name "ready" also maybe doesn't help. Calling it triage/accepted-by-sig makes it very clear who is doing the accepting.

That's fine. I did mention in the KEP that we'd likely need to bikeshed the label name.
I've renamed to triage/accepted-by-sig.

triage/needs-information is useful. This can be used to signify that someone from the SIG has reviewed the issue, but the submitter has not provided enough information for it to be worked on

In that case (IMO) the issue still needs triage. Yes it provides more details, but it doesn't provide much extra value. If I want to see all issues that are not triaged yet, I have to query needs-triage OR triage/needs-information. The more of these we add, the less useful needs-triage becomes.

I think the value here is differentiating between issues we have and haven't touched before.

  • needs-triage: I know we haven't touched the issue yet
  • triage/needs-information: We've interacted with the submitter and are waiting for more data

Instead, we can rename triage/needs-information to lifecycle/needs-information, which I've updated the KEP to propose.

triage/support is used by certain teams (IDK which) to signify that an issue is a support question and should be rerouted (to say Stack Overflow or Discourse). I don't know enough about that workflow to want to impact it/simultaneously solve it/block us here by creating a requirement to solve for it.

All such issues, 100% of them, should be immediately closed. Having a label isn't useful.

The label is useful; to tell someone that we need to close the issue.
That someone may not be you or me though.

If someone opens a support issue, it likely doesn't have a sig/** label attached to it, which means that it'll go untouched unless it has some other identifier. Today, that's triage/support.

I've made changes to the KEP to rename triage/support to kind/support.
That moves it out of your triage path.

If you want to get really fancy, triage/sig-network.

Plz no. That's label * N number of SIGs/subprojects/etc.

@mrbobbytables

For reference it's used by the support issue template in both k/community and k/kubenretes and often used in our "standard" issue response, and I would be in favor of keeping triage/support.

I beg that we change this. Github is not for support and once we figure out that an issue is about support, we NEED to close it. I really want to ask everyone to please not do this.

Ideally, we never have people asking for support on GitHub, but I'm not sure that's realistic.
I think removing that label impairs drive-by user/contributor UX a little.

I agree that "time to close" for these support requests is super important though.

Note the text in the support issue that literally tells you not to submit the issue:

STOP -- PLEASE READ!

GitHub is not the right place for support requests.

If you're looking for help, check Stack Overflow and the troubleshooting guide.

You can also post your question on the Kubernetes Slack or the Discuss Kubernetes forum.

If the matter is security related, please disclose it privately via https://kubernetes.io/security/.

We have long-time contributors that skirt the issue/PR templates as well, so I think here we're just doing the best we can to redirect people in spite of missing the guidance.

@thockin

thockin commented Apr 7, 2020

Copy link
Copy Markdown
Member

Mostly I want to ensure we have an easy signal that the issue should be punted elsewhere.

Why is that signal not "there was a punt message and then it was closed". E.g. /punt-support = an auto-message with links to all the support channels, then auto-close.

@thockin

thockin commented Apr 7, 2020

Copy link
Copy Markdown
Member

The label is useful; to tell someone that we need to close the issue.
That someone may not be you or me though.

Why not add a bot-command and let the people who WOULD mark it as support just close it with a helpful comment? My point is - why should these remain open, once we have determined they are support requests?

I've made changes to the KEP to rename triage/support to kind/support.
That moves it out of your triage path.

Thanks, will re-review today.

If you want to get really fancy, triage/sig-network.

Plz no. That's label * N number of SIGs/subprojects/etc.

Yeah, but ZERO ambiguity about who did the triage...

I think removing that label impairs drive-by user/contributor UX a little.

I agree that "time to close" for these support requests is super important though.

So why not just close support requests. If we're wrong, it can always be re-opened. We can even encourage people to re-open if they disagree.

@justaugustus

Copy link
Copy Markdown
Member Author

Mostly I want to ensure we have an easy signal that the issue should be punted elsewhere.

Why is that signal not "there was a punt message and then it was closed". E.g. /punt-support = an auto-message with links to all the support channels, then auto-close.

@thockin -- going back to one of my previous comments:

I don't know enough about that workflow to want to impact it/simultaneously solve it/block us here by creating a requirement to solve for it.

What you suggested sounds fine, but I don't think it needs to be resolved in/entangled with this KEP.
Can we take it as a separate, but maybe parallel follow up item?


Overall, what do you think of the KEP as it stands with your suggestions integrated?
Do you think it's now sufficiently boolean?

@thockin thockin 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.

/lgtm


See [User Stories](#user-stories).

<unresolved>

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.

[[<unresolved>]] ?

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.

Here we propose [introducing two new labels](https://github.com/kubernetes/test-infra/pull/16298):

- `needs-triage`
- `triage/accepted-by-sig`

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.

I know this naming was literally what I suggested. I am just thinking about the people who use this. If they have to type /triage accepted-by-sig - is that too long and obnoxious? You wanted a bikeshed...

triage/accepted
triage/done
triage/ok
triage/ack
triage/complete
triage/d
triage/sig-foo (I know you hate this but it's very clear /triage network => triage/sig-network)
triaged

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.

Went with triage/accepted instead.

can apply the `triage/accepted-by-sig` label using the following bot command:

```shell
/triage accept

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.

I see that is shorter than what I wrote above. I'm going to leave the bikeshed - my gift to you.

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 hope you have a gift receipt! 🙃

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 7, 2020
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 8, 2020
@justaugustus

justaugustus commented Apr 8, 2020 •

Copy link
Copy Markdown
Member Author

@cblecker @nikhita @mrbobbytables @logicalhan -- Soliciting feedback again...

Current state:

  • propose needs-triage and triage/accepted as labels
  • restrict triage/accepted label application to milestone-maintainers (as there were requests to limit how this label gets applied)
  • remove inactive triage/** labels:
    • triage/duplicate
    • triage/not-reproducible
    • triage/unresolved
  • rename some triage/** labels
    • triage/support --> kind/support
    • triage/needs-information --> lifecycle/needs-information

Let me know what you think! :)
Tagging the @kubernetes/release-team as well.

@mrbobbytables

Copy link
Copy Markdown
Member

I am good with current state 👍
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 8, 2020
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: justaugustus, mrbobbytables, thockin

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@justaugustus

Copy link
Copy Markdown
Member Author

Lazy consensus timeout achieved!
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 9, 2020
@justaugustus justaugustus modified the milestones: keps-beta, v1.19 Apr 9, 2020
@k8s-ci-robot
k8s-ci-robot merged commit fbf96b3 into kubernetes:master Apr 9, 2020
@justaugustus justaugustus added area/enhancements Issues or PRs related to the Enhancements subproject and removed sig/pm labels Apr 19, 2020
@lasomethingsomething

Copy link
Copy Markdown
Contributor

Hi everyone: I've forked and created a revision of the issue triage guide, and have shared it in the contribex channel for some feedback (received). Some highlights:

Would be great if some of you could give this a look and provide feedback. It currently does not include points made in this KEP, so the next step would be to integrate key portions into the guide. If anyone would like to help with that, please reach out on Slack (I'm @LauriApple).

@lasomethingsomething

Copy link
Copy Markdown
Contributor

Hiya, checking in on the guide revision noted in my previous comment (wondering what the next step might be). Also wondering: is there any recently collected data showing which SIGs are running regular/consistent triage sessions? I know of some that are, but don't have the full picture and am curious if anyone currently does.

@thockin

thockin commented Aug 3, 2020

Copy link
Copy Markdown
Member

Hi everyone,

This KEP got merged - did the work get done? Is there any way I can get an update?

RomanBednar pushed a commit to RomanBednar/enhancements that referenced this pull request Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/enhancements Issues or PRs related to the Enhancements subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/release Categorizes an issue or PR as relevant to SIG Release. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.