Skip to content

[Meta][feature]Set up PR title "project" labeling workflow (#1593) - #1593

Open
Scott8440 wants to merge 1 commit into
facebook:mainfrom
Scott8440:export-D116517070
Open

[Meta][feature]Set up PR title "project" labeling workflow (#1593)#1593
Scott8440 wants to merge 1 commit into
facebook:mainfrom
Scott8440:export-D116517070

Conversation

@Scott8440

@Scott8440 Scott8440 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary:

After experimentation and discussion, we've decided to move most of the routing logic internally to reuse the existing NPI tracking system, which gives us a lot of the things we need for this. What will need to be handled in github is this:

  • "Project" labeling system for vendor to indicate who should be responsible for reviewing <- This diff
  • Contributor-facing signals on PRs for unattended/unlabeled PRs
  • Assignee field mainly used for vendor visibility

Internally we will handle:

  • Ownership routing (based on information from the PR + internal configs and tooling)
  • Reminders
  • Handoffs
  • Tracking

This first diff introduces a Project label, similar to the vendor label which is parsed from the PR title and added as a proper label to the PR. The list of valid projects will be a simple .json file visible to vendors to enable proper titles.

  • Initially we will not add "missing" labels or bot comments for incorrect titles, but we will later once more infrastructure is set up
  • The list of projects will need to be updated manually (for now). I am working with the Platform team to add an item to the NPI tracker checklist which will ensure that a new NPI gets added to this list.
  • Most labels are for specific NPI platforms, but other more generic labels exist such as "mosaic", "bug fix", and "feature". This can be revisited.

Example PR titles:

[Accton][minipack3n] Add transceiver support
[Arista][feature] Support reload cause logging in platform_manager

Differential Revision: D116517070

@Scott8440
Scott8440 requested a review from a team as a code owner September 3, 2026 21:01
@meta-cla meta-cla Bot added the CLA Signed label Sep 3, 2026
@meta-codesync

meta-codesync Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

@Scott8440 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116517070.

@Scott8440 Scott8440 changed the title Set up PR title "project" labeling workflow [Meta][feature] Set up PR title "project" labeling workflow Sep 3, 2026
Summary:

After experimentation and discussion, we've decided to move most of the routing logic internally to reuse the existing NPI tracking system, which gives us a lot of the things we need for this. What will need to be handled in github is this:
* "Project" labeling system for vendor to indicate who should be responsible for reviewing <- This diff
* Contributor-facing signals on PRs for unattended/unlabeled PRs
* Assignee field mainly used for vendor visibility

Internally we will handle:
* Ownership routing (based on information from the PR + internal configs and tooling)
* Reminders
* Handoffs
* Tracking


This first diff introduces a Project label, similar to the vendor label which is parsed from the PR title and added as a proper label to the PR. The list of valid projects will be a simple `.json` file visible to vendors to enable proper titles.
* Initially we will not add "missing" labels or bot comments for incorrect titles, but we will later once more infrastructure is set up
* The list of projects will need to be updated manually (for now). I am working with the Platform team to add an item to the NPI tracker checklist which will ensure that a new NPI gets added to this list.
* Most labels are for specific NPI platforms, but other more generic labels exist such as "mosaic", "bug fix", and "feature". This can be revisited.

Example PR titles:
```
[Accton][minipack3n] Add transceiver support
[Arista][feature] Support reload cause logging in platform_manager
```

Differential Revision: D116517070
@meta-codesync meta-codesync Bot changed the title [Meta][feature] Set up PR title "project" labeling workflow Set up PR title "project" labeling workflow (#1593) Sep 9, 2026
@Scott8440 Scott8440 changed the title Set up PR title "project" labeling workflow (#1593) [Meta][feature]Set up PR title "project" labeling workflow (#1593) Sep 9, 2026
@github-actions github-actions Bot added the meta label Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant