Skip to content

Enable crash dump collection for CI test runs#9932

Merged
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:ci-collect-test-crash-dumps
Feb 17, 2026
Merged

Enable crash dump collection for CI test runs#9932
ReubenBond merged 2 commits into
dotnet:mainfrom
ReubenBond:ci-collect-test-crash-dumps

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Feb 16, 2026

Copy link
Copy Markdown
Member

Summary

  • enable crash dump capture for all dotnet test invocations in .github/workflows/ci.yml
  • add explicit --blame-crash-dump-type full and --blame-hang-dump-type full options
  • add the same diagnostics options to the code generator test job

Context

A recent CI test run crashed without collecting a dump: https://github.com/dotnet/orleans/actions/runs/22079624610/job/63802063364?pr=9910

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>
Copilot AI review requested due to automatic review settings February 16, 2026 23:24

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.

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 full and --blame-hang-dump-type full to all existing dotnet test invocations in .github/workflows/ci.yml.
  • Add equivalent blame/hang diagnostics options to the test-codegenerator job.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
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>
@ReubenBond ReubenBond added this pull request to the merge queue Feb 17, 2026
Merged via the queue into dotnet:main with commit e28e64b Feb 17, 2026
59 checks passed
@ReubenBond ReubenBond deleted the ci-collect-test-crash-dumps branch February 17, 2026 01:11
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>
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants