diff --git a/src/Analyzers/Activities/FunctionNotFoundAnalyzer.cs b/src/Analyzers/Activities/FunctionNotFoundAnalyzer.cs index 1bf920a4d..188ebaa50 100644 --- a/src/Analyzers/Activities/FunctionNotFoundAnalyzer.cs +++ b/src/Analyzers/Activities/FunctionNotFoundAnalyzer.cs @@ -37,7 +37,7 @@ public sealed class FunctionNotFoundAnalyzer : DiagnosticAnalyzer ActivityNotFoundTitle, ActivityNotFoundMessageFormat, AnalyzersCategories.Activity, - DiagnosticSeverity.Warning, + DiagnosticSeverity.Info, customTags: [WellKnownDiagnosticTags.CompilationEnd], isEnabledByDefault: true, helpLinkUri: "https://go.microsoft.com/fwlink/?linkid=2346202"); @@ -47,7 +47,7 @@ public sealed class FunctionNotFoundAnalyzer : DiagnosticAnalyzer SubOrchestrationNotFoundTitle, SubOrchestrationNotFoundMessageFormat, AnalyzersCategories.Orchestration, - DiagnosticSeverity.Warning, + DiagnosticSeverity.Info, customTags: [WellKnownDiagnosticTags.CompilationEnd], isEnabledByDefault: true, helpLinkUri: "https://go.microsoft.com/fwlink/?linkid=2346202"); diff --git a/src/Analyzers/AnalyzerReleases.Shipped.md b/src/Analyzers/AnalyzerReleases.Shipped.md index b3ea2041f..5e06af656 100644 --- a/src/Analyzers/AnalyzerReleases.Shipped.md +++ b/src/Analyzers/AnalyzerReleases.Shipped.md @@ -7,8 +7,8 @@ Rule ID | Category | Severity | Notes --------|----------|----------|------- -DURABLE2003 | Activity | Warning | **FunctionNotFoundAnalyzer**: Warns when an activity function call references a name that does not match any defined activity in the compilation. -DURABLE2004 | Orchestration | Warning | **FunctionNotFoundAnalyzer**: Warns when a sub-orchestration call references a name that does not match any defined orchestrator in the compilation. +DURABLE2003 | Activity | Info | **FunctionNotFoundAnalyzer**: Reports when an activity function call references a name that does not match any defined activity in the compilation. If the function is defined in another assembly, this diagnostic can be safely ignored. Static resolution across referenced assemblies is not supported. +DURABLE2004 | Orchestration | Info | **FunctionNotFoundAnalyzer**: Reports when a sub-orchestration call references a name that does not match any defined orchestrator in the compilation. If the function is defined in another assembly, this diagnostic can be safely ignored. Static resolution across referenced assemblies is not supported. ## Release 0.1.0 diff --git a/src/Analyzers/Resources.resx b/src/Analyzers/Resources.resx index fd55d29f1..4638ae98d 100644 --- a/src/Analyzers/Resources.resx +++ b/src/Analyzers/Resources.resx @@ -205,13 +205,13 @@ Use '{0}' instead of '{1}' - The activity function '{0}' was not found in the current compilation. Ensure the activity is defined and the name matches exactly. + The activity function '{0}' was not found in the current compilation. Ensure the activity is defined and the name matches exactly. If the function is defined in another assembly, this diagnostic can be safely ignored. Static resolution across referenced assemblies is not supported. Activity function not found - The sub-orchestration '{0}' was not found in the current compilation. Ensure the orchestrator is defined and the name matches exactly. + The sub-orchestration '{0}' was not found in the current compilation. Ensure the orchestrator is defined and the name matches exactly. If the function is defined in another assembly, this diagnostic can be safely ignored. Static resolution across referenced assemblies is not supported. Sub-orchestration not found