Limiting number of ticket assignments on Trac

With the next iteration of Google of Summer of Code coming around, we’re likely to see another large influx of prospective contributors. Even if the GSoC WG makes language changes to avoid it, I think it’s reasonable to expect an large up tick in people wanting to contribute.

I think we should limit new contributors to only being able to assign themselves to one or two new or accepted tickets.

This would effectively act as a speed bump for people trying to contribute. So rather than turning an LLM loose on several tickets, they are constrained to one or two. Theoretically, they would be more incentivized to make those better, but that’s wishful thinking. The speed bump nature here would reduce the amount of communication and logistics we have to do on Trac. It may even help prevent people from re-assigning tickets when they shouldn’t.

8 Likes

Alternatively, rather than encouraging new code contributions, we could instead promote reviewing existing patches (there are currently 150 in the review queue) as a path toward earning trust. With either way path, there are likely to be many low quality contributions, but a different strategy in these changing times could be worth a trial.

5 Likes

I agree that guiding people to do code reviews is good idea. I’m guessing we can get that error message to generate something like that.

The idea makes sense, and I think it may be needed, but there are a few things I wonder, mainly on the technical feasibilities:

  1. How hard would it be to make this feature work in Trac since it doesn’t have a reputation system like Discourse (our forum platform). I guess some metrics like account date creation or merged tickets should be feasible to get.
  2. There are also some people like fellows or other more core contributors that should be allowed to have probably infinite number of tickets assigned. This could be a manual role (Trac supports those) and/or we can try to automate that this only applies to accounts younger than X time.
  3. Based on the[1] two[2] cases that prompted the discussion, I feel the issue is also reassignments. A possible addon this would be first, a clear popup-like message when reassigning (if it’s possible in Trac), or similar to 1, reassignments limited based on account date.
    Another possibility would be to try to detect whether the ticket has had any work. But it could have been 6 months in the review queue with no activity needed from the contributor, so a supposed system would have to somehow look at github activity.
  4. Should the limit of assigned tickets should only apply if they are not in the review queue? There are ways to abuse this control, but it’s better than nothing.

I think having accounts younger than X months have some limitations on tickets assigned and maybe reassignments should be a relatively simple approach that could be enough as a first wall.

1 Like

I agree. Limiting tickets for newer accounts seems like a simple and effective starting point. Reassignment warnings could also help prevent abuse.

In my head it’d be a combination of account age and number of tickets marked as ready for checkin where you’re the owner. The Fellows were saying that there are also difficulties with people changing the triage state. They would accept their own ticket so that their pr doesn’t get autoclosed.

  1. I don’t know, but it looks possible. I don’t know if it’s maintainable. Thankfully we’re just impacting the create and update cases which are way less frequent.
  2. Yup, checking based on account age will help here.
  3. We could do that where some tickets are made editable by anyone. I don’t think it’s necessary for this first version though.

Another option is that the T&R team review stale tickets where at six months, the person is unassigned and moved to the cc list on the issue. They are welcome to reassign themselves, but I think people should opt back in.

  1. No, I think it should apply regardless. The latest security policy changes indicates if a person has many reports they should file them serially to avoid overloading the team. That same mentality applies here.