What if we told you that supernovas aren't the brightest events in the Universe? Gamma-ray bursts are.
They shine hundreds of times brighter and only last for several minutes at most.
But even a second would be enough for them to mess up all complex life on the planet.