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

Proj Mgmt Bot based on Labels #3

Open
Harjot1Singh opened this issue May 11, 2020 · 4 comments
Open

Proj Mgmt Bot based on Labels #3

Harjot1Singh opened this issue May 11, 2020 · 4 comments

Comments

@Harjot1Singh
Copy link
Member

No description provided.

@saihaj
Copy link
Member

saihaj commented May 11, 2020

I can do this 😄

@bhajneet
Copy link
Member

bhajneet commented May 12, 2020

How I envision the basic project management columns (others can be added outside this for ad hoc purposes):

Step Column Reason
1 Triage New issue, no labels, needs triaging
2 Backlog Issue is on hold (See label table below)
3 Evaluate Issue either (1) PM needs developers to explain the significance of issue, (2) needs assignee to estimate for PM to triage further, or (3) assignee needs more info to resolve (bugs that are not confirmed go here) (This should be empty as much as possible)
4 Queue Issues are ready for assignees to pick up and work on
5 Active Issues being worked on
6 Review Issues ready to merge
7 Done Issues closed, fixed, resolved

How I envision labelling (Each issue can have at most ONE status label):

image

Step Status Reason
1 No labels New issue, needs triaging
2* Hold PM doesn't want to evaluate (issue w/ no assignee) or assignee is being held by another issue's resolution (issue w/ assignee)
2* ? ? ? PM unsure of significance
2* Score PM wants estimation details to triage further
2* Vague Assignee can't resolve without further details
2* 3hard5me PM wants it done, but assignee can't resolve
2 To Do PM wants it done and assignee can resolve
3 WIP Work is in progress
4 Review / Done* Issue is linked to PR that will resolve it
  • 2* labels can be closed without steps 3 and 4. "To Do" label should go to WIP and then to Review/Done. Basically don't mark something "To Do" unless it's going to be added to Queue in near future
  • I would like to combine Review / Done labels as one label called "Status: Merge"

Given the above two, I would like the labeller to ease project management:

Label On Event Column
None New Triage
Status: Hold Add Backlog
Status: To Do Add Backlog
Status: Score Add Evaluate
Status: Score Remove (Should be removed by assignee estimating issue) Ping PM to take further action
Status: ? ? ? Add Evaluate
Status: Vague Add Evaluate
Status: Vague + Type: Fix 14 days stale Evaluate and ask for more details, warn the issue will self close if labels/info is not provided
Status: Vague + Type: Fix 7 days stale post-warning Done column, and close issue
Status: WIP Add Progress
Status: Merge Add Review
Any Close Issue Done
Type: Question Add Evaluate
Type: Question + Status: Vague 7 days stale post-developer response Evaluate and ask for more details, warn the issue will self close if labels/info is not provided (be friendly, it could be developer/PM fault for not changing labels after successfully answering)

And then some combos which should automatically go to "Queue" / To Do column (issue requires assignee, if none assigned ping PM for an assignee, as these are ready to go):

Combo1 Combo2 Combo3 Combo4
Status: To Do Type: Question
Status: To Do Type: Fix Impact: High Diff: 0
Status: To Do Type: Fix Impact: High Diff: 1
Status: To Do Type: Fix Impact: Crit Diff: 0
Status: To Do Type: Fix Impact: Crit Diff: 1

In addition if the labeller sees the comment "Duplicate of #XYZ" it should add the label "Type: Dupe" and close the issue (if it's not already closed). Closing this issue will move it to Done as per above table.


Then some helpful queries will become:

saihaj added a commit to saihaj/testing-github-workflows that referenced this issue May 12, 2020
@bhajneet
Copy link
Member

We also don't want to add new labels and remove old labels. We need to be able to modify labels in other repos to new label names so as to not lose all the issues we've tagged.

@bhajneet bhajneet changed the title Labeller Proj Mgmt Bot based on Labels May 23, 2020
@saihaj
Copy link
Member

saihaj commented Jun 19, 2020

We can also label merge if the issue was referenced in a commit. I see in database that there are issues that get commit but the author then makes a big PR and PR is not linked to issue. It will also help in cases if the author forgets to change labels.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

3 participants