This MR implements a change in the use of conda_build.api.build() in the specific cases we are building from the resolved metadata. It reverts using metadata to run the build as that has proved not be reliable.
conda_build.api.build()
See: