Skip to content

Commit

Permalink
Introduce and use new change wave
Browse files Browse the repository at this point in the history
  • Loading branch information
rokonec committed Oct 11, 2023
1 parent f7514a6 commit 7679120
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Build/BackEnd/Node/OutOfProcNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ private void SendPacket(INodePacket packet)
{
if (packet is LogMessagePacketBase logMessage
&& logMessage.EventType == LoggingEventType.CustomEvent
&& (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_8) || !Traits.Instance.EscapeHatches.IsBinaryFormatterSerializationAllowed)
&& (ChangeWaves.AreFeaturesEnabled(ChangeWaves.Wave17_10) || !Traits.Instance.EscapeHatches.IsBinaryFormatterSerializationAllowed)
&& Traits.Instance.EscapeHatches.EnableWarningOnCustomBuildEvent)
{
BuildEventArgs buildEvent = logMessage.NodeBuildEvent.Value.Value;
Expand Down
3 changes: 2 additions & 1 deletion src/Framework/ChangeWaves.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ internal class ChangeWaves
internal static readonly Version Wave17_4 = new Version(17, 4);
internal static readonly Version Wave17_6 = new Version(17, 6);
internal static readonly Version Wave17_8 = new Version(17, 8);
internal static readonly Version[] AllWaves = { Wave17_4, Wave17_6, Wave17_8 };
internal static readonly Version Wave17_10 = new Version(17, 10);
internal static readonly Version[] AllWaves = { Wave17_4, Wave17_6, Wave17_8, Wave17_10 };

/// <summary>
/// Special value indicating that all features behind all Change Waves should be enabled.
Expand Down

0 comments on commit 7679120

Please sign in to comment.