[users at bb.net] Another anecdote, with possible bug.

Pierre Tardy tardyp at gmail.com
Tue Nov 29 15:34:58 UTC 2016


Le lun. 28 nov. 2016 à 17:34, Neil Gilmore <ngilmore at grammatech.com> a
écrit :

> Hi Pierre,
>
> Thanks for the confirmation. Please note, because I failed to mention it,
> that we set collapseRequests globally for most schedulers.
>
> Our fix ended up being to append the master name to the schedulers. We
> lose failover for the schedulers, though.
>
> I may look at your solution if I get some time. I may not understand
> correctly, but it sounds like I'd end up with a builder with the same name
> on 2 different masters. One would be the actual builder, and the other
> would exist solely for its collapseRequests behavior?
>
Indeed, this is the case for 2 masters.


>
> It would seem that an eventual fix would involve using the collapse
> behavior attached specifically to a builder, if present. If not present,
> the global config would be able to use the default function, given
> function, or nothing. I don't think it would be too hard to implement that.
> The only oddity right now is that scheduling has to jump through the
> builder to find the function.
>

I guess the real fix would be to attach the collapseRequest behaviour to
the schedulers rather than the builders (and mark the builder one
deprecated)
It would be imho too complicated to make it work by sending message to the
builder to run the collapse algorithm.
Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20161129/9fffda40/attachment.html>


More information about the users mailing list