summaryrefslogtreecommitdiff
path: root/cbuildbot/lkgm_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'cbuildbot/lkgm_manager.py')
-rw-r--r--cbuildbot/lkgm_manager.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/cbuildbot/lkgm_manager.py b/cbuildbot/lkgm_manager.py
index 05e4eb38e..947b7b25e 100644
--- a/cbuildbot/lkgm_manager.py
+++ b/cbuildbot/lkgm_manager.py
@@ -249,6 +249,11 @@ class LKGMManager(manifest_version.BuildSpecsManager):
self.InitializeManifestVariables(version_info)
self.GenerateBlameListSinceLKGM()
+
+ # Throw away CLs that might not be used this run.
+ if validation_pool:
+ validation_pool.FilterChangesForThrottledTree()
+
new_manifest = self.CreateManifest()
# For Chrome PFQ, add the version of Chrome to use.
@@ -326,6 +331,9 @@ class LKGMManager(manifest_version.BuildSpecsManager):
build_id: Optional integer cidb build id of the build publishing the
manifest.
+ Returns:
+ Path to the manifest version file to use.
+
Raises:
GenerateBuildSpecException in case of failure to check-in the new
manifest because of a git error or the manifest is already checked-in.