• Zeger-Jan van de Weg's avatar
    Load commit in batches for pipelines#index · 4f880e06
    Zeger-Jan van de Weg authored
    Uses `list_commits_by_oid` on the CommitService, to request the needed
    commits for pipelines. These commits are needed to display the user that
    created the commit and the commit title.
    
    This includes fixes for tests failing that depended on the commit
    being `nil`. However, now these are batch loaded, this doesn't happen
    anymore and the commits are an instance of BatchLoader.
    4f880e06
pipelines_controller.rb 4.12 KB