Merge lp://staging/~al-maisan/launchpad/qualify-subquery-507562 into lp://staging/launchpad/db-devel
Proposed by
Muharem Hrnjadovic
Status: | Merged |
---|---|
Approved by: | Julian Edwards |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp://staging/~al-maisan/launchpad/qualify-subquery-507562 |
Merge into: | lp://staging/launchpad/db-devel |
Diff against target: |
36 lines (+11/-2) 1 file modified
lib/lp/buildmaster/model/builder.py (+11/-2) |
To merge this branch: | bzr merge lp://staging/~al-maisan/launchpad/qualify-subquery-507562 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | code | Approve | |
Canonical Launchpad Engineering | Pending | ||
Review via email: mp+17399@code.staging.launchpad.net |
To post a comment you must log in.
Hello there!
The selection of candidate jobs for idle builders in the build farm uses a
general query part that may select too many candidates.
Thus, all build farm job type classes get a chance to add sub-queries that
further refine or narrow down the set of selected candidate jobs.
However, these sub-queries need to be put into context so that they apply only
to the jobs beloging to the job class that contributed the sub-query.
That is what the branch at hand does.
Please note that all _findBuildCandi date() tests (we have a pretty extensive
test coverage of the build farm candidate job selection) pass.
Test to run:
bin/test -vv -t build
No "make lint" errors or warnings.