Drop unused query from GET Build.

[?]
Jun 1, 2021, 3:47 PM
ILC4M377CUN4EKECU2TXJLIQPYNWTAZHTIQKGCXIFQJQBCSGYOYAC

Dependencies

  • [2] RH76KR2E qualify id column
  • [3] DF2M3RPS Join to builds via jobset_id when easy
  • [4] Y6AHH4TH Remove the logfile and logSize columns from the database
  • [5] V62IBGJV * Cannot call isValidPath on a logfile. This happened to work because
  • [6] YLLP6LP7 Remove the related builds tab
  • [7] VBWHG272 Re-add the history tab (store size and build time), now as lazy-loaded tab on build page.
  • [8] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [9] MRVTLC76
  • [10] PY4WQF5G remove ascii escapes from log in tail page and emails
  • [11] IMA3HWYC Fix link to cached build log
  • [12] 2R7GHSA4 * hydra: added initial version of build graph
  • [13] NZI7E2E3 * hydra: handle case where logfile is empty
  • [14] ZEEZRG2E clean up build page for build that failed with result
  • [15] HPEG2RHV Merge the BuildResultInfo table into the Builds table
  • [16] LBNVQXUB * Build the /build stuff in a separate controller.
  • [17] NZXX6PLD Remove the Jobs table
  • [18] UCLYDK2A * Disambiguate.
  • [19] MPVX6MKX * hydra: on build page, show tail of log on first tab when buildstatus == 1 (this specific build failed)
  • [20] GJFYEU3S * Nix now stores logs by default as bzip2, make sure the build page uncompresses before showing.
  • [21] PMNWRTGJ Add multiple output support
  • [22] H47WLVAT * Handle the case where there is no cached build step that produced
  • [23] TCXFZZFN * hydra: make chart zoomable and clickable
  • [24] O5DYTVGA Add jobset/job menus on buid log pages
  • [25] 3SQCOHZN * minor performance tweaks
  • [26] 7ZVZJK54 Re-enable the "Related Builds" tab
  • [27] 2QA4Y4G3 * hydra: added index, actual build time (buildstep with same outpath, so without deps) of the build
  • [28] ZNKPGZHF hydra: error on buildpage for queued build
  • [29] FU4GO5VN On build pages, provide a link to the build's first eval
  • [30] HB3OHPJL hydra: in case of cached build, add link to build that built the storepath

Change contents

  • edit in src/lib/Hydra/Controller/Build.pm at line 84
    [4.272][4.0:28](),[4.28][4.3178:3246](),[4.2451][4.3178:3246](),[4.3178][4.3178:3246](),[4.3246][3.0:51](),[3.51][4.0:38](),[4.153][4.0:38](),[4.38][4.361:405](),[4.197][4.361:405](),[4.508][4.361:405](),[4.45][4.548:607](),[4.405][4.548:607](),[4.548][4.548:607](),[4.607][4.0:49](),[4.49][4.607:621](),[4.607][4.607:621](),[4.621][4.50:217](),[4.217][2.0:39](),[2.39][4.253:292](),[4.253][4.253:292](),[4.51][4.671:694](),[4.292][4.671:694](),[4.671][4.671:694](),[4.694][4.251:257](),[4.251][4.251:257](),[4.257][4.249:250](),[4.288][4.249:250](),[4.1111][4.249:250]()
    if ($build->finished) {
    $c->stash->{prevBuilds} = [$c->model('DB::Builds')->search(
    { jobset_id => $c->stash->{jobset}->id
    , job => $c->stash->{job}
    , 'me.system' => $build->system
    , finished => 1
    , buildstatus => 0
    , 'me.id' => { '<=' => $build->id }
    }
    , { join => "actualBuildStep"
    , "+select" => ["actualBuildStep.stoptime - actualBuildStep.starttime"]
    , "+as" => ["actualBuildTime"]
    , order_by => "me.id DESC"
    , rows => 50
    }
    )
    ];
    }