[openstack-dev] [requirements] near term gate optimization opportunity
sean at dague.net
Fri Aug 12 00:59:04 UTC 2016
On 08/11/2016 07:56 PM, Tony Breeds wrote:
> On Thu, Aug 11, 2016 at 09:13:12AM +0200, Andreas Jaeger wrote:
>> On 2016-08-10 23:06, Sean Dague wrote:
>>> Based on reading some logs, it looks like requirements updates are
>>> getting regenerated on every requirements land for all open patches,
>>> even if they aren't impacted by it -
>>> patch 10,11,12 in that series are just rebases, all happening within a
>>> couple of hours.
>>> With the check queue at ... 505 changes as of this email, this is
>>> definitely adding some extra load to the system.
>>> It would be a great optimization for someone to look at the script -
>>> and make it so that if the commit did not change, don't push a rebased
>> Good idea!
>> One thing to keep in mind: You want to rebase if there's a merge conflict...
> What about adding a check and only rebasing if and only if the chnage in
> question has a -1 from Jenkins?
> That'd mean that in-flight reviews don't get rebased but we *do* rebase if
> we're in merge conflict.
> The downside to this is we'll be doing *more* gerrit queries but that's
> probably ok.
That seems like a further optimization. Honestly, I would rarely expect
these to be in merge conflict, and at worse, they would be so until the
next requirements push.
More information about the OpenStack-dev