Skip to content

Classify pull requests by size, kind, and area - #793

Merged
Michelle Clayton (michelle-clayton-work) merged 12 commits into
mainfrom
dev/mclayton/shared-pr-classifier
Aug 13, 2026
Merged

Classify pull requests by size, kind, and area#793
Michelle Clayton (michelle-clayton-work) merged 12 commits into
mainfrom
dev/mclayton/shared-pr-classifier

Conversation

@michelle-clayton-work

@michelle-clayton-work Michelle Clayton (michelle-clayton-work) commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • call the reusable go-infra classifier for deterministic size:* and repository-specific area:* labels
  • run the reusable agentic kind classifier afterward to maintain every applicable kind:* label
  • classify PRs when opened, synchronized, reopened, or marked ready for review
  • support manual single-PR classification and deterministic size/area backfill
  • keep both stages API-only for fork safety

The area mapping covers Agent Framework's agent, workflow, message, tool, provider, internal, tooling, examples, and GitHub automation surfaces, including provider-specific labels.

Ordering

The size/area job runs first and provisions every allowed kind label. The agentic job then analyzes the PR diff and safely adds all applicable kinds while removing only stale kind labels.

Closes #767

Copilot AI lite review requested due to automatic review settings August 6, 2026 16:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Note

This error may be related to your runner configuration. You can now configure runners for Copilot code review separately from Copilot cloud agent by creating a copilot-code-review.yml file with your setup steps. Read the docs for details.

@gdams

Copy link
Copy Markdown
Member

Michelle Clayton (@michelle-clayton-work) the CI workflow isn't triggering. I'm not sure why?

@michelle-clayton-work Michelle Clayton (michelle-clayton-work) added area:github Changes files in the github area size:medium At most 100 changed lines across at most 5 files kind:ci Changes CI, build, or repository automation labels Aug 12, 2026
Merged via the queue into main with commit 00ffc8c Aug 13, 2026
27 of 32 checks passed
@michelle-clayton-work
Michelle Clayton (michelle-clayton-work) deleted the dev/mclayton/shared-pr-classifier branch August 13, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:github Changes files in the github area kind:ci Changes CI, build, or repository automation size:medium At most 100 changed lines across at most 5 files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workflow to label PRs

3 participants