Repository navigation
Update memory dump dependencies - #1744
Merged
Merged
Conversation
Contributor
Summary - All Code Coverage (ubuntu-latest)
|
bart-vmware
force-pushed
the
update-memory-dumps
branch
from
September 18, 2026 10:29
2252e71 to
029fd43
Compare
bart-vmware
marked this pull request as ready for review
September 18, 2026 11:31
TimHess
reviewed
Sep 18, 2026
TimHess
reviewed
Sep 18, 2026
TimHess
reviewed
Sep 21, 2026
…optimize and reuse ConcurrentTextWriter
TimHess
reviewed
Sep 22, 2026
…ays capture and include in exception, log at trace level
|
This was referenced Nov 7, 2026
This was referenced Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This PR adds skipped test coverage for verifying that the intertwined dependencies needed for taking memory and thread dumps are compatible. But running these tests takes several minutes, which is why they are skipped by default. The tests compile and run a console app that takes various dumps on all supported target frameworks, while referencing packaged Steeltoe libraries from an emphemeral NuGet feed. This verifies real end-to-end usage that mirrors a Steeltoe release pushed to a package feed.
Caution
Each time dump-related Steeltoe dependencies are bumped, these tests should be run manually to verify compatibility.
This PR also updates dump-related dependencies to the latest compatible versions, so Steeltoe users benefit from minor downstream fixes accross the board.
Why do we need such tests?
Steeltoe.Management.Endpointreferences the following NuGet packages:Microsoft.Diagnostics.NETCore.Client(used to obtain heap dumps)Microsoft.Diagnostics.Tracing.TraceEvent(used to obtain stack traces)Microsoft.Diagnostics.FastSerialization.dll**Microsoft.Diagnostics.NETCore.Clientfrom abovedotnet-gcdump(embedded, because global tools can't be referenced)Microsoft.Diagnostics.FastSerialization.dll**** It's fine when
dotnet-gcdumpis compiled against a different version ofMicrosoft.Diagnostics.FastSerialization.dll, as long as it is binary compatible. If not, aTypeLoadExceptionorMissingMethodExceptionis thrown at runtime (so when taking the dump).Update: This PR additionally adds fixes and workarounds for dotnet/diagnostics#6048. Concurrent requests for memory dumps now fail with HTTP 429 Too Many Requests.
Quality checklist
If your change affects other repositories, such as Documentation and/or Samples, add linked PRs here.