SERVER-131305ClosedFixed
Sharded explain of extension $search in $unionWith+$lookup fails with IDLDuplicateField (40413)
h3. Overview On a sharded cluster, running explain on an extension {{$search}} / {{$searchMeta}} pipeline that contains {{$unionWith}} \+ {{$lookup}} fails to serialize the explain response: The {{explainVersion}} field is written twice into the explain/response BSON, tripping IDL duplicate\-field validation. This is an explain\-serialization bug \(distinct from SERVER\-131024, which adapted explain test _expectations_ to the extension stage names\). h3. Steps to reproduce h3. Hypothesis T