Don't use a prepared statement for the active build steps query
[?]
Mar 5, 2012, 11:20 PM
LGNML7VJCQ4E53ZYRGL5BNK6KVTNQGPJKFIULSAGSTU6VK45INMACDependencies
- [2]
NZYFWV6Mhydra-build: Add system info to the subject and extra headers. - [3]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [4]
FHAVPTZ6Hydra/23: added some X-headers with meta info in email notifications, added more descriptive status - [5]
6KJXJB7Nqualify ordery_by clauses when necessary, remove unnecessary order_by's, reported by Ludo, resulted in errors in sqlite - [6]
HPEG2RHVMerge the BuildResultInfo table into the Builds table - [7]
EFWN7JBV* Added a status page that shows all the currently executing build steps. - [8]
LOMVF2KHdo not send email for builds with status 'aborted' - [9]
6FRLEP4Pfirst try for timeline of last 24 hours in hydra - [10]
SMCOU72Fhydra: add some admin for adding/enabling/etc build machines - [11]
FPK5LF53* Put the project-related actions in a separate controller. Put the - [12]
OG7BEM57 - [13]
AJKTRRDJrename var - [14]
KA45EBF5* Send email if a build fails. - [15]
FYO6NECEhydra - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
LBNVQXUB* Build the /build stuff in a separate controller. - [*]
KAZWI5G4* hydra: buildpage, show changes since last build/successful build - [*]
LUPEGYR7Hydra: In case of failure, also show changes between last succesful build and the first failed build after this - [*]
7YBYT2LQ - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
6QRHXIM3* Speed up the jobset index page. Especially the query to get the - [*]
E2TOU3L6* More indices.
Change contents
- replacement in src/lib/Hydra/Controller/Root.pm at line 98[4.424]→[4.424:488](∅→∅),[4.488]→[3.2823:2900](∅→∅),[3.2900]→[4.735:771](∅→∅),[4.735]→[4.735:771](∅→∅),[4.771]→[4.631:646](∅→∅),[4.631]→[4.631:646](∅→∅)
$c->stash->{steps} = [ $c->model('DB::BuildSteps')->search({ 'me.busy' => 1, 'build.busy' => 1 },{ join => [ 'build' ], order_by => [ 'machine' ]} ) ];$c->model('DB')->storage->dbh_do(sub {my (undef, $dbh) = @_;local $dbh->{pg_server_prepare} = 0;$c->stash->{steps} = [ $c->model('DB::BuildSteps')->search({ 'me.busy' => 1, 'build.finished' => 0, 'build.busy' => 1 },{ join => [ 'build' ], order_by => [ 'machine' ]} ) ];}); - edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 24
- edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 41
- edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 58
- edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 77
- edit in src/script/hydra-build at line 92
- edit in src/script/hydra-build at line 194
- edit in src/sql/hydra.sql at line 501[23.2524][24.0]
create index IndexBuildStepsOnBusy on BuildSteps(busy); - edit in src/sql/hydra.sql at line 506
create index IndexBuildsOnFinishedBusy on Builds(finished, busy);