diff --git a/internal/mcp/sdk_method_dispatch_test.go b/internal/mcp/sdk_method_dispatch_test.go index fc320a2c..68ce4084 100644 --- a/internal/mcp/sdk_method_dispatch_test.go +++ b/internal/mcp/sdk_method_dispatch_test.go @@ -16,7 +16,7 @@ import ( // GetAgentTagsSnapshotFromContext helper. func TestGetAgentTagsSnapshotFromContext(t *testing.T) { t.Run("nil context returns false", func(t *testing.T) { - snapshot, ok := GetAgentTagsSnapshotFromContext(nil) + snapshot, ok := GetAgentTagsSnapshotFromContext(nil) //nolint:staticcheck // SA1012: intentionally testing nil context handling assert.False(t, ok) assert.Nil(t, snapshot) })