Improvements to IBuilder.findBuildCandidate()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Michael Nelson |
Bug Description
With the fix for bug 393546 multiple builds for the same PPA+arch will only happen in series (to avoid builder monopolization by nightly builds for multiple distroarchserie
We may want to improve this solution so that, for example, builds with a score above a certain threshold will always be found as possible build candidates. This will allow, for example, security ppa builds for the same arch to be built in parallel.
This could be implemented in IBuilder.
Related branches
- Gavin Panella (community): Approve
-
Diff: 340 lines5 files modifiedlib/lp/soyuz/doc/buildd-dispatching.txt (+12/-38)
lib/lp/soyuz/interfaces/builder.py (+4/-0)
lib/lp/soyuz/model/builder.py (+3/-3)
lib/lp/soyuz/tests/test_builder.py (+127/-0)
lib/lp/testing/factory.py (+29/-0)
description: | updated |
Changed in soyuz: | |
status: | Triaged → In Progress |
assignee: | nobody → Michael Nelson (michael.nelson) |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
Initially, private archives should not be subject to the restriction implemented when fixing bug 393546. If we find more problems later then we can tweak the algorithm, but the current changes are a great start.