logging.error(f'error while silently reporting metrics: {e}')
classNullOptimizer(OptimizedBuildTarget):
"""No-op target optimizer.
@@ -209,11 +223,7 @@ class ChangeInfo:
classGeneralTestsOptimizer(OptimizedBuildTarget):
"""general-tests optimizer
This optimizer reads in the list of changed files from the file located in
env[CHANGE_INFO] and uses this list alongside the normal TEST MAPPING logic to
determine what test mapping modules will run for the given changes. It then
builds those modules and packages them in the same way general-tests.zip is
normally built.
This optimizer uses test discovery to build a list of modules that are needed by all tests configured for the build. These modules are then build and packaged by the optimizer in the same way as they are in a normal build.
"""
# List of modules that are built alongside general-tests as dependencies.
@@ -221,93 +231,99 @@ class GeneralTestsOptimizer(OptimizedBuildTarget):