Skip to content
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

Update SOS to show the relevant information for the !ThreadPool command when using the Windows thread pool #4160

Merged
merged 12 commits into from
Sep 30, 2023

Conversation

eduardo-vp
Copy link
Member

@eduardo-vp eduardo-vp commented Aug 16, 2023

Uses the properties exposed in microsoft/clrmd#1175 to show relevant Windows thread pool information if it's enabled

Copy link
Member

@kouvel kouvel left a comment

Choose a reason for hiding this comment

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

Thanks!

@eduardo-vp eduardo-vp marked this pull request as ready for review September 29, 2023 15:13
@eduardo-vp eduardo-vp requested a review from a team as a code owner September 29, 2023 15:13
@mikem8361
Copy link
Member

mikem8361 commented Sep 29, 2023

You have a lot of build errors in the PR builds before this is ready for review.

@kouvel
Copy link
Member

kouvel commented Sep 29, 2023

This change is dependent on microsoft/clrmd#1175, so I guess a version update of some sort is necessary to pick up those changes.

@mikem8361
Copy link
Member

@leculver we may have a little chicken or egg thing going here. The clrmd DARC update that probably contains this fix has build problems.

@mikem8361
Copy link
Member

@eduardo-vp you merged an older version of main that doesn't contain the clrmd update. You need to fetch the latest main and rebase/merge that.

@eduardo-vp
Copy link
Member Author

I believe I did pull from the latest main which brought version 3.0.447801 of Microsoft.Diagnostics.Runtime. I updated that to use version 3.0.447901 in eng/Versions.props, I'm trying to fix the issues by updating it in eng/Version.Details.xml as well

@mikem8361
Copy link
Member

Sorry, I was confused by the build failure. It isn't anything to do with your threadpool changes on either side. It is do to a method being obsoleted and the diagnostics repo turns those warnings into errors:

/mnt/vss/_work/1/s/src/Microsoft.Diagnostics.ExtensionCommands/ClrMDHelper.cs(998,47): error CS0618: 'ClrObject.ClrObject(ulong, ClrType?)' is obsolete: 'Use ClrHeap.GetObject instead.' [/mnt/vss/_work/1/s/src/Microsoft.Diagnostics.ExtensionCommands/Microsoft.Diagnostics.ExtensionCommands.csproj]
/mnt/vss/_work/1/s/src/Microsoft.Diagnostics.ExtensionCommands/ClrMDHelper.cs(1118,33): error CS0618: 'ClrObject.ClrObject(ulong, ClrType?)' is obsolete: 'Use ClrHeap.GetObject instead.' [/mnt/vss/_work/1/s/src/Microsoft.Diagnostics.ExtensionCommands/Microsoft.Diagnostics.ExtensionCommands.csproj]
  Microsoft.Diagnostics.Repl -> /mnt/vss/_work/1/s/artifacts/bin/Microsoft.Diagnostics.Repl/Release/netstandard2.0/Microsoft.Diagnostics.Repl.dll

@mikem8361 mikem8361 added the auto-merge Automatically merge PR once CI passes. label Sep 30, 2023
@ghost
Copy link

ghost commented Sep 30, 2023

Hello @mikem8361!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost
Copy link

ghost commented Sep 30, 2023

Apologies, while this PR appears ready to be merged, I've been configured to only merge when all checks have explicitly passed. The following integrations have not reported any progress on their checks and are blocking auto-merge:

  1. Azure Pipelines

These integrations are possibly never going to report a check, and unblocking auto-merge likely requires a human being to update my configuration to exempt these integrations from requiring a passing check.

Give feedback on this
From the bot dev team

We've tried to tune the bot such that it posts a comment like this only when auto-merge is blocked for exceptional, non-intuitive reasons. When the bot's auto-merge capability is properly configured, auto-merge should operate as you would intuitively expect and you should not see any spurious comments.

Please reach out to us at fabricbotservices@microsoft.com to provide feedback if you believe you're seeing this comment appear spuriously. Please note that we usually are unable to update your bot configuration on your team's behalf, but we're happy to help you identify your bot admin.

@mikem8361 mikem8361 merged commit 81c0bcb into dotnet:main Sep 30, 2023
19 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-merge Automatically merge PR once CI passes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants