-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Awkward label dance with getsantry bot whenever we open an issue for our own team #107
Comments
This is a great place to report this, thanks! 😁 |
We have a project spec'd out to improve the automations, this would fit under that. We decided to focus on other things for Q1, though. :-/ Maybe there's some low-hanging fruit somewhere in here though? |
Ok, we can work around it for now. Confirmation that there wasn't an existing process for avoiding that we just weren't doing is good though. |
Hmm, am I reading this wrong, or is the intended workflow that if the user opening the issue is an internal dev the |
So it's a little confusing, but What we're seeing at, e.g., getsentry/sentry#44663 (comment), is that:
(Looks like there's more mess with Status labels but let's stay focused for a second.) I think for low-hanging fruit, the rule should maybe be that when someone in EPD (vs. GTM) routes an issue via a Thoughts @hubertdeng123, et al.? |
The reason why there's a weird dance is because our Agh, I think the remedy for this is checking to see if the membership of the user who opened the issue before routing. If the issue is made by an internal dev that doesn't belong to the GTM team, then we can skip routing altogether. I did have a PR up that could use a revisit that I planned on tackling after enabling routing for GTM members. I don't think we should default to putting things on the backlog if routed by EPD. If an issue needs to be rerouted, it'll end up on the backlog if a team member reroutes it which really isn't what we want. |
I'd be fine with that for a quick fix. Seems really susceptible to race conditions since it runs in an action, which takes 60+ seconds.
Pretty sure we're already good here. On the example we don't see @getsantry apply |
That's correct. For this, we don't want the routing to even happen in the first place
What I'm saying here addresses this, since we're checking the membership of the user who opened the issue. If it's someone in EPD I'm assuming it's very likely that it's an issue for their own team or they know who to assign it to already. |
Actually I thought about that again, maybe the best solution is checking the membership of the user who opened the issue. Internal User (EPD):
Internal Member (GTM):
External Member:
|
Pretty sure this is where I landed in #107 (comment), yes? 😅
Assuming we're on the same page (pretty sure we are) then our action items are:
Look right? For (2) let's make a note in a code comment that if possible on the other side of #90 we should base backlog/untriaged on membership in the actual affected team (only put on Foo's backlog if routed by members of |
Almost....just the difference between the membership of the user who routed the issue vs the user who opened the issue 😜. If it's done by membership of the user routing we can have the situation where
Otherwise we're on the same page here. |
Should we rely on the Github membership of teams for this? Last time I checked there seemed to be quite a lot of overlap of people on different teams 😅 |
Not yet, relying on GitHub teams is theoretical until we get through #90.
Oof, yeah, good call. :-/ |
Removing |
Closing as not an issue anymore, we are smarter with this now. |
Not sure if this it the right place to report this so let me know otherwise!
The MDX team is in the process of moving over to GitHub for tracking MDX epics, tasks, and bugs, and also for our ongoing support of D&D work.
Whenever we open a new issue, we have to go through a little labeling dance with getsantry, as seen on getsentry/sentry#44663:
Is there some specific process when opening a ticket we can do to not do this? Or alternatively some way to upgrade the bot to be a little smarter when members of
team-mdx
open tickets withTeam: Mobile Developer Experience
/discover-n-dashboards
open tickets withTeam: Discover & Dashboards
?The text was updated successfully, but these errors were encountered: