What is this message "Breaking change analysis operation failed"?

Andrew HB 341 Reputation points
2020-05-21T14:10:44.393+00:00

Hi,

I have an Azure HTTP Triggered Function project that after a deployment raises the following warning in our logs. I cannot find anything about this on Stack Overflow and although nothing seems to be affected I would like to understand what the message means, also how to prevent it.

2020-05-21 14:03:44.778 +00:00 [Warning] Breaking change analysis operation failed
System.NotSupportedException: The invoked member is not supported in a dynamic assembly.
at System.Reflection.Emit.InternalAssemblyBuilder.get_CodeBase()
at Microsoft.Azure.WebJobs.Script.ChangeAnalysis.ChangeAnalysisService.LogBreakingChangeReport(CancellationToken cancellationToken) in D:\a\1\s\src\WebJobs.Script.WebHost\BreakingChangeAnalysis\ChangeAnalysisService.cs:line 140
at Microsoft.Azure.WebJobs.Script.ChangeAnalysis.ChangeAnalysisService.TryLogBreakingChangeReportAsync(CancellationToken cancellationToken) in D:\a\1\s\src\WebJobs.Script.WebHost\BreakingChangeAnalysis\ChangeAnalysisService.cs:line 103

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,933 questions
{count} votes

Accepted answer
  1. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2020-10-13T15:21:42.22+00:00

    Hi @Andrew HB ,

    Apologies that my response wasn't clear before. The reason the warning is being raised is to identify any issues that potentially could arise during a platform upgrade. It is a log message that's used by the product team to be proactive in any potential issues. The message can fire during platform changes; therefore, there is not any code convention that can be implemented to change or prevent these messages from arising. It is however safe to ignore and you can filter the messages. The team does intend to change the log level so that it isn't obtrusive but there is no ETA on when the change will take place.

    Regards,
    Ryan


1 additional answer

Sort by: Most helpful
  1. Andrew HB 341 Reputation points
    2020-10-13T09:23:29.063+00:00

    Just returning to this as I continue to receive these warnings, I haven't accepted the answer from @Ryan Hill as it doesn't really tell me WHY the warning is being raised. Why is the Azure framework generating this warning and is there anyway that I can prevent the warning either by configuration or coding convention?

    As others have suggested I to am going to look at filtering the warning message out of the log files as it really is quite annoying receiving these via our support desk every day.

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.