As long as the headspace is within spec, the gun won't blow-up when fired. I used to be obsessed with measuring headspace on all my builds, but eventually, after discovering NONE to ever be out of tolerance despite freely mixing and matching bolts, I decided to trust the "modularity" of the AR construction when it comes to factory installed barrel extensions. Now, if I were building a barrel from scratch, yes of course headspacing would be part of the process.
The only other consideration is free movement of reciprocating parts - the BCG as it were. As long as the upper and lower align sufficiently to allow the BCG to retract into the buffer tube without binding, the gun is GTG.
With everybody and his sister machining out their own uppers and lowers, it's not uncommon to encounter large gaps between the two at the area of curvature because this is where most deviation from spec occurs, but it only matters cosmetically because the recoil energy is carried directly to the buffer, the upper is merely a "housing" to connect the ends.