-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Tracking] New pull request assignment proposal #1753
Labels
A-assign-PR
Area: PR auto assignment and welcome messages
Comments
2 tasks
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 13, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 13, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 13, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 28, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 28, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 28, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 28, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 29, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Dec 29, 2023
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Jan 5, 2024
General overview at: rust-lang#1753 This patch implements the first part: - a new DB table with just the fields to track how many PRs are assigned to a contributor at any time - Update this table everytime a PR is assigned or unassigned No initial sync is planned at this time. Populating the table will happen over time.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Jan 5, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor at any time - This tDB table will be updated everytime a PR is assigned or unassigned No initial sync is planned at this time. DB table population will happen over time automatically.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 20, 2024
- Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 20, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 20, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 20, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 22, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 22, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 22, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 23, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 23, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 23, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
apiraino
added a commit
to apiraino/triagebot
that referenced
this issue
Feb 23, 2024
General overview at: rust-lang#1753 - Added a new DB table with the fields to track how many PRs are assigned to a contributor - Initial DB table population with a one-off job, manually run.
1 task
@rustbot claim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue tracks the progress of the implementation of a new workflow for assigning pull requests to the Rust project contributors.
2024-02-20 UPDATE: After other opinions came in, a new plan was discussed. Updates below.
2023-12-12 UPDATE: After another meeting with T-infra, we agreed a second plan detailing how to split the work further. The new plan is detailed below.
2023-11-08 UPDATE: After a meeting with T-infra, it was remarked that the first implementation (#1719) was hard to review so we agreed a plan to split into smaller bites (#1745)
[pr_tracking]
work show
to also return MAX_PRwork set <num>
to allow people updating their MAX_PR[review_prefs]
in thetriagebot.toml
num_assigned_prs == MAX_PR
, people can grab that PR manually[Question] Add a filter to enable this feature only for members of a number of teams?Summary
The current pull request assignment is basically randomly assigned among team members. The new proposed workflow has the following features:
r? <team> or <team_member>
the triagebot will check the current availability and workload of the candidates and assign the pull request to the team member less busy, excluding automatically those that are on time off in that moment.A slightly old design document is at this HackMD link.
Permissions and Authorization
This backoffice could be thought as a simple form listing all team members. It is served by the triagebot (from triagebot.infra.rust-lang.org). Access to this backoffice is gated by a GitHub App. Users allowed to this backoffice:
NEW_PR_ASSIGNMENT_TEAMS
Team leaders are considered administrators and can see the preferences of every team member. Normal team members can only see their own preferences and those of team members that agree to share theirs within the team.
DEPLOYMENT
There will a few env vars to enable the new PR assignment and retrict access to this backoffice.
The idea would be to iterate on this pull request and iron out all the wrinkles visible without deployment:
USE_NEW_PR_ASSIGNMENT
and have the team listed inNEW_PR_ASSIGNMENT_TEAMS
use it for real.The text was updated successfully, but these errors were encountered: