The Senate immigration bill, aka border security bill, is only designed as the cover for the Senate to send $60 billion more to Ukraine. The Ukraine money is the priority (corps/lobbyists) the border “security” bill is the technique to create and spend it.
That said, they certainly would not want to let a created and purposeful border crisis go to waste…