• Erick Bajao's avatar
    Preload job artifacts archive in pipeline details · 1a9f1db4
    Erick Bajao authored
    This makes the PipelineDetailsEntity to by default
    eager load the job_artifacts_archive.
    
    In the case of PipelineSerializer, it does not rely on
    PipelineDetailsEntity for preloading, because it does its
    own preloading of pipeline relations. This is more performant
    for cases where in there are multiple pipelines to preload.
    1a9f1db4
pipelines_controller_spec.rb 26.8 KB