I believe that the current state of affairs is that warrantless searches of US citizens’ devices at (or near) the borders are constitutional.
https://www.theusconstitution.org/litigation/merchant-v-mayo... https://www.eff.org/deeplinks/2021/10/come-back-warrant-cong...
This really is a shameful state of affairs that Congress should fix, but I’m not holding my breath.