• Grzegorz Bizon's avatar
    Do not serialize a pipeline again when showing a build · b9c19f6b
    Grzegorz Bizon authored
    This change makes it possible to avoid additional serialization of
    entire pipeline when rendering a build details page. Instead we expose
    more information from the build entity itself what is much cheaper than
    serializing entire pipeline.
    
    Additionally we do not need to serialize `latest?` flag, which involves
    multiple Gitaly calls.
    b9c19f6b
build_details_entity.rb 3.29 KB