When would BuildPromotion.findTops() return multiple 'parent' BuildPromotions?

Under which sorts of scenarios would a child `BuildPromotion` have more than one parent returned by `findTops()`?  Could this happen in practice if, say two parents A and B both depend on a child C, and both A and B are triggered?

1 comment
Comment actions Permalink

Sorry for delay. In practice it can happen if C was promoted first to A and then to B. It can also happen if build queue optimizer decides to reuse the same build C for both chains A->C and B->C while they are staying in the queue.


Please sign in to leave a comment.