Enable crash dump collection for CI test runs#9932
Merged
Conversation
Add crash and hang dump blame options to all dotnet test invocations in the GitHub CI workflow so test host crashes produce diagnostic dumps. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions CI workflow to improve post-mortem diagnostics by ensuring dotnet test collects full crash and hang dumps during CI runs, including the code generator test job.
Changes:
- Add
--blame-crash-dump-type fulland--blame-hang-dump-type fullto all existingdotnet testinvocations in.github/workflows/ci.yml. - Add equivalent blame/hang diagnostics options to the
test-codegeneratorjob.
Add VSTest args after -- and archive test outputs in test-codegenerator so dumps/logs are retained. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
rkargMsft
pushed a commit
to rkargMsft/orleans
that referenced
this pull request
Feb 27, 2026
* Enable crash dump collection in CI test runs Add crash and hang dump blame options to all dotnet test invocations in the GitHub CI workflow so test host crashes produce diagnostic dumps. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address PR feedback for codegenerator CI diagnostics Add VSTest args after -- and archive test outputs in test-codegenerator so dumps/logs are retained. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
dotnet testinvocations in.github/workflows/ci.yml--blame-crash-dump-type fulland--blame-hang-dump-type fulloptionsContext
A recent CI test run crashed without collecting a dump: https://github.com/dotnet/orleans/actions/runs/22079624610/job/63802063364?pr=9910