rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
169 stars 75 forks source link

PR assignment based on work queue availability (take #2) #1793

Closed apiraino closed 2 months ago

apiraino commented 2 months ago

This is a version of #1786 that fixes the two following bugs:

Fixes 2 bugs:

  1. the initial migration wasn't formatted correctly and the new schema changes weren't applied

  2. The SELECT to find a reviewer would return wrong results when a team member had NULL in the table review_prefs.max_assigned_prs

r? @jackh726

jackh726 commented 2 months ago

Okay, let's try this again.

jackh726 commented 2 months ago

For sure if this is still problematic, we need to consider splitting this up.