Skip to content

Change SOS breaking change from warning to error; better dotnet-dump target errors - #4713

Merged
mikem8361 merged 3 commits into
dotnet:mainfrom
mikem8361:sosbreak
Jun 6, 2024
Merged

mikem8361 merged 3 commits into
dotnet:mainfrom
mikem8361:sosbreak

Conversation

@mikem8361

Copy link
Copy Markdown
Contributor
  • Change DAC breaking change behavior from warning to error.

  • Better dotnet-dump analyze error message for cross OS dumps. Don't allow Linux and Windows dumps when running on MacOS; don't allow OSX and Windows dumps when running on Linux.

Mike McLaughlin added 2 commits June 5, 2024 15:22
Don't allow Linux and Windows dumps when running on MacOS; don't allow OSX and Windows dumps when running on Linux.

Issue: dotnet#4686
@mikem8361 mikem8361 self-assigned this Jun 5, 2024
@mikem8361
mikem8361 requested a review from a team as a code owner June 5, 2024 23:01
@mikem8361
mikem8361 requested review from hoyosjs and noahfalk June 5, 2024 23:02

@noahfalk noahfalk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

I'd recommend going further and including the breaking change check in every command as part of the command initialization, not just those three.

Comment thread src/Tools/dotnet-dump/Analyzer.cs Resolved
@mikem8361

Copy link
Copy Markdown
Contributor Author

LGTM.

I'd recommend going further and including the breaking change check in every command as part of the command initialization, not just those three.

I think that changes the original intent of the DAC breaking change API. It was only to protected the commands that have depend on runtime structure layout. The part I don't like about putting it in every command is that all of the other commands (other than the 3 I've named in this PR) will work just fine. Forcing our customers to upgrade may not be an option at that time.

@mikem8361
mikem8361 removed the request for review from hoyosjs June 6, 2024 17:52
@mikem8361
mikem8361 merged commit f28f9d8 into dotnet:main Jun 6, 2024
@mikem8361
mikem8361 deleted the sosbreak branch June 6, 2024 17:52
@noahfalk

noahfalk commented Jun 7, 2024

Copy link
Copy Markdown
Member

I think that changes the original intent of the DAC breaking change API

Maybe we had different intents? As far as I was aware it was always the intent for this to be more general purpose :) But its only a suggestion, its your call if or when to make such a change.

hoyosjs added a commit that referenced this pull request Jun 8, 2024
- Update Alpine versions (#4589)
- Followup 1ES template changes (#4596)
- Fix Test Results tab in github UI (#4607)
- Move the symstore repo to diagnostics (#4603)
- Fix recent Alpine repo build (#4612)
- Fix issue #4611 - Switch to cross build for Alpine (#4621)
- Add waithandle to --clrevents option (#4624)
- Fix SOS unit tests dump generation fixture (#4636)
- Fix CONTRACT return type (#4649)
- [SymbolStore] Add support to index .NET Framework Runtime debugging
modules (#4616)
- [test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656)
- Supports collecting GCSettingsEvent for gc-collect profile (#4615)
- Update ipc-protocol.md (#4658)
- Fixing a case where we should set the RundownKeyword (#4662)
- Fix versioning of symstore ported assets (#4670)
- Add ubuntu 22.04 testing. Update 6,7 and 8 runtime versions (#4676)
- Update locker action version to update node version (#4682)
- Use managed identity for blob upload of release assets (#4680)
- Remove the symweb symbol server support (#4694)
- [RISC-V] Add gcinfodumper implementation. (#4703)
- Fix `pathto` SOS command. (#4706)
- Add support for new exception trace storage format (#4635)
- Change SOS breaking change from warning to error; better dotnet-dump
target errors (#4713)
- [Symbol] Add manifest generator (#4693)
- Remove references to obsolete storage account variables (#4719)
- Update DIA to 17.10.0-beta1.24272.1 (#4683)
- Reenable SDL requirements (#4722)

---------

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rich Lander <[email protected]>
Co-authored-by: Mike McLaughlin <[email protected]>
Co-authored-by: Jan Vorlicek <[email protected]>
Co-authored-by: Grégoire <[email protected]>
Co-authored-by: Tom McDonald <[email protected]>
Co-authored-by: Mitchell Hwang <[email protected]>
Co-authored-by: Andrew Au <[email protected]>
Co-authored-by: Noah Falk <[email protected]>
Co-authored-by: Mikhail Kurinnoi <[email protected]>
Co-authored-by: Matt Mitchell <[email protected]>
hoyosjs added a commit that referenced this pull request Jun 12, 2024
- Update Alpine versions (#4589)
- Followup 1ES template changes (#4596)
- Fix Test Results tab in github UI (#4607)
- Move the symstore repo to diagnostics (#4603)
- Fix recent Alpine repo build (#4612)
- Fix issue #4611 - Switch to cross build for Alpine (#4621)
- Add waithandle to --clrevents option (#4624)
- Fix SOS unit tests dump generation fixture (#4636)
- Fix CONTRACT return type (#4649)
- [SymbolStore] Add support to index .NET Framework Runtime debugging
modules (#4616)
- [test][SOS] Disable OtherCommands Dumpmt test on Alpine (#4656)
- Supports collecting GCSettingsEvent for gc-collect profile (#4615)
- Update ipc-protocol.md (#4658)
- Fixing a case where we should set the RundownKeyword (#4662)
- Fix versioning of symstore ported assets (#4670)
- Add ubuntu 22.04 testing. Update 6,7 and 8 runtime versions (#4676)
- Update locker action version to update node version (#4682)
- Use managed identity for blob upload of release assets (#4680)
- Remove the symweb symbol server support (#4694)
- [RISC-V] Add gcinfodumper implementation. (#4703)
- Fix `pathto` SOS command. (#4706)
- Add support for new exception trace storage format (#4635)
- Change SOS breaking change from warning to error; better dotnet-dump
target errors (#4713)
- [Symbol] Add manifest generator (#4693)
- Remove references to obsolete storage account variables (#4719)
- Update DIA to 17.10.0-beta1.24272.1 (#4683)
- Reenable SDL requirements (#4722)
- Disable CG on musl leg due to lack of proper support (#4726)
- Update SOS breaking change version for Exception's _stackTrace changes
in .NET 9 (#4733)
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 7, 2024
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