CRUNCH-217: Ensure PipelineResult captures pipeline failures. Contributed by Joe Adler.