Skip to content

Refactor CrashDumpTests with DumpWorkaround helper class#6877

Merged
Youssef1313 merged 4 commits intodev/ygerges/unskip-CrashDumpTests-macosfrom
copilot/sub-pr-6874
Nov 4, 2025
Merged

Refactor CrashDumpTests with DumpWorkaround helper class#6877
Youssef1313 merged 4 commits intodev/ygerges/unskip-CrashDumpTests-macosfrom
copilot/sub-pr-6874

Conversation

Copy link
Contributor

Copilot AI commented Nov 4, 2025

  • Create a static helper class DumpWorkaround with method GetGlobalPropertiesWorkaround
  • Extract the macOS workaround logic into the helper method
  • Replace all 4 occurrences in CrashDumpTests.cs with calls to the helper method
  • Apply the helper to HangDumpProcessTreeTests.cs as well
  • Validate changes and reply to comments

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: Youssef1313 <31348972+Youssef1313@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 4, 2025

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • 37bvsblobprodcus311.vsblob.vsassets.io
    • Triggering command: /home/REDACTED/work/testfx/testfx/.dotnet/dotnet msbuild /m /nologo /clp:Summary /v:minimal /nr:true /warnaserror /p:TreatWarningsAsErrors=true /p:ContinuousIntegrationBuild=false /home/REDACTED/work/testfx/testfx/artifacts/toolset/restore.proj /t:__WriteToolsetLocation /clp:ErrorsOnly;NoSummary /p:__ToolsetLocationOutputFile=/home/REDACTED/work/testfx/testfx/artifacts/toolset/11.0.0-beta.25553.1.txt (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Refactor CrashDumpTests with DumpWorkaround helper class Refactor CrashDumpTests with DumpWorkaround helper class Nov 4, 2025
Copilot AI requested a review from Youssef1313 November 4, 2025 10:48
Copy link
Member

@Youssef1313 Youssef1313 left a comment

Choose a reason for hiding this comment

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

@copilot Update HangDumpProcessTreeTests to use the new helper as well.

Co-authored-by: Youssef1313 <31348972+Youssef1313@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 4, 2025

@copilot Update HangDumpProcessTreeTests to use the new helper as well.

Done! Updated HangDumpProcessTreeTests to use the DumpWorkaround helper in commit 8e7b9c1.

@Youssef1313 Youssef1313 marked this pull request as ready for review November 4, 2025 10:53
@Youssef1313 Youssef1313 merged commit f363561 into dev/ygerges/unskip-CrashDumpTests-macos Nov 4, 2025
2 checks passed
@Youssef1313 Youssef1313 deleted the copilot/sub-pr-6874 branch November 4, 2025 10:53
Copilot AI requested a review from Youssef1313 November 4, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants