There's a circular dependency here. Only works because they are in the same file. Two pipelines in the same file are really confusing.
Proper behavior of NextBuildNumberPipeline should be the production of a next build number, nothing more.
Factor this out to continue work on fixing the swarming task timeouts.
Comment 1 by wylieb@chromium.org
, Jul 31 2017