Without knowing the details of this engagement, the availability of a B-52 strike suggests the US had full knowledge of the planned assault. It takes time for a B-52 to reach the Mid East, even if it is prepared and loaded beforehand.
So the aircraft must have been airborne when the assault started.
The lesson learned by the Russians will surely included much more emphasis on planning secrecy, as well as better monitoring of the surrounding air space.