From 25eaebc4070fbc9107a5ba02dd5824c16bf1c879 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 19 Dec 2025 22:03:15 +0000
Subject: [PATCH 1/2] Initial plan
From e3324ef2f43b2ce3f99cb4e5dbefee3247c75e4d Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 19 Dec 2025 22:10:02 +0000
Subject: [PATCH 2/2] Change DURABLE2003/2004 severity to Info and update
messages per issue #580
Co-authored-by: YunchuWang <12449837+YunchuWang@users.noreply.github.com>
---
src/Analyzers/Activities/FunctionNotFoundAnalyzer.cs | 4 ++--
src/Analyzers/AnalyzerReleases.Shipped.md | 4 ++--
src/Analyzers/Resources.resx | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/Analyzers/Activities/FunctionNotFoundAnalyzer.cs b/src/Analyzers/Activities/FunctionNotFoundAnalyzer.cs
index 1bf920a4..188ebaa5 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 b3ea2041..5e06af65 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 6b56987f..6062825d 100644
--- a/src/Analyzers/Resources.resx
+++ b/src/Analyzers/Resources.resx
@@ -199,13 +199,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