Workers’ unions and the social revolution