Stream: t-release/triage

Topic: Triage tracking tool


view this post on Zulip rylev (Jul 05 2021 at 15:42):

Hey folks. I'm not sure if this group will find this useful, but I've been working on a GitHub issue triage tool that might be helpful: https://github.com/rylev/triage-tracker

I just added support for seeing stale issues (i.e., issues that have not been commented on) since a given date. For example,
triage-tracker triaged A-diagnostics --since 2020-07-01 finds all issues labeled with A-diagnostics that have not been commented on since at least last July 1st. If you don't provide a date it defaults to 1 year in the past.

There's also functionality for seeing what the net issue closure is for a given time span. For instance triage-tracker closings range -s 2021-06-07 -e 2021-05-31 will tell you the difference in issue (re)openings vs issue closures. Ideally this number is always negative so that we're closing more issues than are opened.

Let me know if anyone finds this potentially useful. There's lots we could do with it including hooking it up to a bot that informs us when issues have become stale.

view this post on Zulip rylev (Jul 05 2021 at 15:44):

If you try it out locally, do note that it is fairly aggressive with the GitHub API so you're likely to quickly run into rate limiting issues.

view this post on Zulip rylev (Jul 05 2021 at 16:57):

If anyone is interested in which issues labeled with A-diagnostics have not been triaged in over a year, here it is: https://gist.github.com/rylev/5c4db4ff868dee9b7776a1f7e77a6e30. The list has 505, but I think I missed a few due to rate limiting issues.

view this post on Zulip DPC (Jul 05 2021 at 20:24):

this looks good, I wonder if it's possible to do it with PRs as well? that would be really handy. Thanks

view this post on Zulip Joshua Nelson (Jul 05 2021 at 20:25):

github treats PRs as issues so I would be surprised if it isn't supported already

view this post on Zulip rylev (Jul 05 2021 at 21:13):

Yes PRs should be somewhat supported, but I can add direct support for PRs (so that you get only information about PRs and not plain issues)

view this post on Zulip DPC (Jul 07 2021 at 01:01):

yeh that's fair

view this post on Zulip rylev (Jul 07 2021 at 11:53):

One other issue is that currently, only comments are used as a way of determining if an issue is stale. For pull requests, reviewing the code and leaving comments on code (which GitHub does not classify as a comment) also needs to be taken into consideration.


Last updated: Jan 26 2022 at 14:20 UTC