<div dir="ltr">Hi Chris,<div><br></div><div>There is a known issue for collapseRequest default algorithm</div><div>See this WIP PR: <a href="https://github.com/buildbot/buildbot/pull/3152">https://github.com/buildbot/buildbot/pull/3152</a><br></div><div>There is still some work to do including creating the unit tests for the algorithm.</div><div>Please feel free to continue the work on it.</div><div><br></div><div>Pierre</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, May 15, 2017 at 6:29 PM Chris Spencer <<a href="mailto:chrisspen@gmail.com">chrisspen@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>How do you collapse builds so Buildbot doesn't build every single commit separately for a branch? It should also cancel a running build for a branch if there's a newer commit pending.<br><br></div>My builder looks like:<br><br>c['builders'].append(<br>    util.BuilderConfig(<br>        name="runtests",<br>        workernames=["example-worker"],<br>        collapseRequests=True,<br>        factory=factory))<br><br></div>I thought collapseRequests=True did this, but it seems to have no effect. Every commit to a branch shows up as a separate pending build.<br></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div>