Skip to content

Tag dotnet/jit-contrib for JIT related changes #116589

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

Merged
merged 3 commits into from
Jun 12, 2025
Merged

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jun 12, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings June 12, 2025 15:07
@jkotas jkotas requested a review from jeffhandley as a code owner June 12, 2025 15:07
@jkotas jkotas requested a review from jakobbotsch June 12, 2025 15:07
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jun 12, 2025
@jkotas
Copy link
Member Author

jkotas commented Jun 12, 2025

cc @dotnet/jit-contrib

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new policy rule to automatically tag the @dotnet/jit-contrib team on PRs that touch JIT-related files under src/coreclr.

  • Introduces a conditional block matching JIT file paths in resourceManagement.yml
  • Configures the bot to mention @dotnet/jit-contrib without assigning them
  • Provides a custom reply template and description for clarity
Comments suppressed due to low confidence (3)

.github/policies/resourceManagement.yml:1682

  • Consider refining the regex with word boundaries (e.g., (?i)src/coreclr/.*\bjit\b.*) to avoid unintended matches like filenames containing 'jit' as a substring.
pattern: (?i)src/coreclr/.*jit.*

.github/policies/resourceManagement.yml:1692

  • [nitpick] For consistency with YAML boolean styling used elsewhere, consider using lowercase false instead of False.
assignMentionees: False

.github/policies/resourceManagement.yml:1693

  • [nitpick] Update the description to explicitly mention @dotnet/jit-contrib and hyphenate 'JIT-related' for clarity, e.g., Mention @dotnet/jit-contrib for JIT-related changes.
description: '@Mention for JIT related changes'

@jkotas jkotas added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jun 12, 2025
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Comment on lines 1679 to 1693
- if:
- payloadType: Pull_Request
- filesMatchPattern:
pattern: (?i)src/coreclr/.*jit.*
matchAny: true
- isPullRequest
- isOpen
then:
- mentionUsers:
mentionees:
- dotnet/jit-contrib
replyTemplate: >-
Tagging @dotnet/jit-contrib for JIT-related changes
assignMentionees: False
description: '@Mention for JIT-related changes'
Copy link
Member

Choose a reason for hiding this comment

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

Is this going to double tag for issues/prs that are getting the area-codegen label?

Don't think it'd be a big issue either way, but it might be a bit of extra noise that shows up if it does.

Copy link
Member

Choose a reason for hiding this comment

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

Actually, I guess that's just tagging Julie/Jakob today and not jitcontrib, so shouldn't be an issue.

Copy link
Member Author

@jkotas jkotas Jun 12, 2025

Choose a reason for hiding this comment

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

@jakobbotsch Feel free to tweak this policy any way you want to fit the JIT team workflows.

@EgorBo
Copy link
Member

EgorBo commented Jun 12, 2025

The problem that codegen-area is the most popular tag in the whole repo https://github.com/dotnet/runtime/labels?sort=count-desc 😢 so it's hard to distinguish calls for help vs automated pings.

@kunalspathak
Copy link
Member

The problem that codegen-area is the most popular tag in the whole repo https://github.com/dotnet/runtime/labels?sort=count-desc 😢 so it's hard to distinguish calls for help vs automated pings.

Agree, at one point I subscribed myself of getting tagged for codegen-area alon with Julie/Jakob, but then soon realized that there are so many notifications that I was missing the tags in issues that needed my attention and so I went ahead and unsubscribed myself from that.

@jakobbotsch
Copy link
Member

The problem that codegen-area is the most popular tag in the whole repo https://github.com/dotnet/runtime/labels?sort=count-desc 😢 so it's hard to distinguish calls for help vs automated pings.

Agree, at one point I subscribed myself of getting tagged for codegen-area alon with Julie/Jakob, but then soon realized that there are so many notifications that I was missing the tags in issues that needed my attention and so I went ahead and unsubscribed myself from that.

This change is only adding the mention for PRs, not issues. I agree that for issues the amount of traffic is pretty high, but for PRs I think it's more reasonable that the JIT team is tagged.

@jakobbotsch
Copy link
Member

If other JIT team members are unhappy about being tagged on the JIT PRs we can change this PR to tag JIT members only on the JIT-EE GUID updates (that was what sparked my original comment). I think everyone on @dotnet/jit-contrib would be happy about being notified of JIT-EE GUID updates. Anyone against that @dotnet/jit-contrib?

The automated area tagging usually works fine for JIT changes and people can opt in to that one.

@EgorBo
Copy link
Member

EgorBo commented Jun 12, 2025

If other JIT team members are unhappy about being tagged on the JIT PRs we can change this PR to tag JIT members only on the JIT-EE GUID updates

I do not mind either option, but would prefer the latter

I personally scan all issues/prs anyway and use mail notification only to catch cases when our team is explicitly mentioned for an opinion/review. If I get more pings I'll most likely just redirect them to a folder..

Copy link
Member

@EgorBo EgorBo left a comment

Choose a reason for hiding this comment

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

Thanks!

@AndyAyersMS
Copy link
Member

If other JIT team members are unhappy about being tagged on the JIT PRs we can change this PR to tag JIT members only on the JIT-EE GUID updates

I do not mind either option, but would prefer the latter

I personally scan all issues/prs anyway and use mail notification only to catch cases when our team is explicitly mentioned for an opinion/review. If I get more pings I'll most likely just redirect them to a folder..

Yeah GUID updates are the main thing, they can be disruptive to our workflows; we may miss SPMI coverage in CI or have to wait for relatively slow local downloads after merges from main.

@jkotas
Copy link
Member Author

jkotas commented Jun 12, 2025

/ba-g Helix Queue Insights stuck

@jkotas jkotas merged commit 2fb0bc0 into dotnet:main Jun 12, 2025
14 of 15 checks passed
@jkotas jkotas deleted the jit-policy branch June 12, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants