Skip to content

Capture tool call name in ILogger logs on success and not just failure #1358

Capture tool call name in ILogger logs on success and not just failure

Capture tool call name in ILogger logs on success and not just failure #1358

Triggered via pull request December 2, 2025 14:58
Status Failure
Total duration 4m 12s
Artifacts

ci-build-test.yml

on: pull_request
Matrix: build
publish-coverage  /  publish-coverage
publish-coverage / publish-coverage
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 6 warnings
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (macos-latest, Debug)
The name 'ToolName' does not exist in the current context
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (macos-latest, Debug)
The name 'ToolName' does not exist in the current context
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (macos-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (ubuntu-latest, Release)
The name 'ToolName' does not exist in the current context
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (ubuntu-latest, Release)
The name 'ToolName' does not exist in the current context
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (ubuntu-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (macos-latest, Release)
The name 'ToolName' does not exist in the current context
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (macos-latest, Release)
The name 'ToolName' does not exist in the current context
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (macos-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (ubuntu-latest, Debug)
The name 'ToolName' does not exist in the current context
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (ubuntu-latest, Debug)
The name 'ToolName' does not exist in the current context
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (ubuntu-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (windows-latest, Debug)
The name 'ToolName' does not exist in the current context
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (windows-latest, Debug)
The name 'ToolName' does not exist in the current context
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (windows-latest, Debug): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (windows-latest, Release)
The name 'ToolName' does not exist in the current context
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (windows-latest, Release)
The name 'ToolName' does not exist in the current context
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L455
The best overload for 'LogSendingRequestFailed' does not have a parameter named 'toolName'
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L811
Template 'ToolName' is not provided as argument to the logging method (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1014)
build (windows-latest, Release): src/ModelContextProtocol.Core/McpSessionHandler.cs#L812
Argument 'targetName' is not referenced from the logging message (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1015)
build (macos-latest, Debug)
No files were found with the provided path: artifacts/testresults/**. No artifacts will be uploaded.
build (ubuntu-latest, Release)
No files were found with the provided path: artifacts/testresults/**. No artifacts will be uploaded.
build (macos-latest, Release)
No files were found with the provided path: artifacts/testresults/**. No artifacts will be uploaded.
build (ubuntu-latest, Debug)
No files were found with the provided path: artifacts/testresults/**. No artifacts will be uploaded.
build (windows-latest, Debug)
No files were found with the provided path: artifacts/testresults/**. No artifacts will be uploaded.
build (windows-latest, Release)
No files were found with the provided path: artifacts/testresults/**. No artifacts will be uploaded.