I just went through this process and ended up getting the HP Omnibook Ultra Flip with a core 7 258v, running Ubuntu 24.10. Performance is excellent, battery life is the best I've ever had on an Intel running Linux. If you truly need more RAM than 32 GB it won't be an option though.
The air or an mb pro seems so nice until I remember the sting of dealing with the dev environment and docker on a Mac compared to Linux. No amount of battery life or marginal jump in performance (which gets lost through needed virtualization) will make up for that for me.