The math behind why it does not matter much
Think of your longest run as one data point inside a whole season of training. One coach works the numbers: a 7 hour long run before a 100K, sitting inside a 16 week build of about 10 hours per week, is only around 4 percent of your total training load. No single run that small is going to make or break your fitness. The stuff that carries you through an ultra gets built across the whole block, not handed to you on one epic day.
The proof is in who finishes. Coaches have guided runners whose longest training run was as little as 20 percent of race distance, and others who went as high as 80 percent. There is no magic distance that flips a switch and makes you ready. Like they say, first bake the cake with consistent running, and the long run is just the icing.