Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/clusterfuzz/_internal/bot/tasks/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from clusterfuzz._internal.base import tasks
from clusterfuzz._internal.base import utils
from clusterfuzz._internal.base.tasks import task_utils
from clusterfuzz._internal.bot.tasks import task_types
from clusterfuzz._internal.bot import testcase_manager
from clusterfuzz._internal.bot.tasks.utasks import uworker_handle_errors
from clusterfuzz._internal.bot.tasks.utasks import uworker_io
Expand Down Expand Up @@ -494,7 +495,8 @@ def update_data_bundle(
# case, the fuzzer will generate testcases from a gcs bucket periodically.
if not _is_search_index_data_bundle(data_bundle.name):

if not (take_trusted_host_path() and data_bundle.sync_to_worker):
if not (take_trusted_host_path() and data_bundle.sync_to_worker and
task_types.task_main_runs_on_uworker()):
logs.info('Data bundles: normal path.')
result = corpus_manager.sync_data_bundle_corpus_to_disk(
data_bundle_corpus, data_bundle_directory)
Expand Down
2 changes: 1 addition & 1 deletion src/clusterfuzz/_internal/bot/tasks/task_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def execute(self, task_argument, job_type, uworker_env):
'analyze': UTask,
'blame': TrustedTask,
'corpus_pruning': UTask,
'fuzz': UTask,
'fuzz': UTaskLocalExecutor,
'impact': TrustedTask,
'minimize': UTask,
'progression': UTask,
Expand Down
Loading