There is an epic space film about saving the sun from 2007, entitled Sunshine. Which may have inspired Project Hail Mary. If you loved The Martian and PHM you should try Sunshine (2007). There are few films like it. Best (and worst?) marketing tagline for these films: "Its daylight savings time"!
RE: A Geeky Guy's Guide to Project Hail Mary