Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BinFmt] Error on serialization custom events in by default in .NET framework #9318

Merged
merged 6 commits into from
Nov 21, 2023

Conversation

rokonec
Copy link
Member

@rokonec rokonec commented Oct 10, 2023

Fixes #9300

Context

.NET Framework shall throw error when attempting to serialize customer event args by binfmt.
See #9300 for more context.

Changes Made

  • testing switch in .net framework 4 as well (might revisit)
  • error thrown by default

Testing

Local. Unit tests.

Notes

It is breaking change, but chance of break is small, IMO.

@rokonec rokonec requested a review from JanKrivanek October 10, 2023 10:25
Copy link
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

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

Looks good to me.

The changewave should be 17.9 unless you are explicitly convinced it should stay under 17.8

src/Build/BackEnd/Node/OutOfProcNode.cs Outdated Show resolved Hide resolved
@rainersigwald
Copy link
Member

Can you remind me what partner team buyoff we have on this? Are all known first-party uses rectified?

@rokonec
Copy link
Member Author

rokonec commented Oct 11, 2023

@rainersigwald I have collected some usage data here:
#8825 (comment)

I think most of those are in-process instantiation so it will not be serialized for IPC and hence this change will not break them.

Now when I think about it more, chance of this change to cause serious havoc is small. I have rephased NOTE

@rainersigwald
Copy link
Member

rainersigwald commented Oct 11, 2023 via email

@rokonec rokonec force-pushed the rokonec/BinFmt-disabled-by-default branch from 88e03f4 to c62c8f3 Compare October 19, 2023 13:30
@JanKrivanek
Copy link
Member

JanKrivanek commented Nov 1, 2023

Currently blocked by https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1908682

All prerequisities merged in VS

src/Framework/Traits.cs Outdated Show resolved Hide resolved
Co-authored-by: Ladi Prosek <ladi.prosek@gmail.com>
@JanKrivanek JanKrivanek merged commit 959ee4e into dotnet:main Nov 21, 2023
8 checks passed
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.

[BinFmt] Custom Build Event Args will lead to build warning/error by default
4 participants