• 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
pipeline_details_entity_spec.rb 6.55 KB