... and then there are the actual planet-threatening astronomical events that humanity should think about ways to mitigate but I'm worried that human lifespans and capitalism prevent us from working towards mitigations. Everyone will just say "meh, 1 million years is a long time, I won't be around" and a million years will go by.
https://en.wikipedia.org/wiki/Timeline_of_the_far_future