Skip to content

Commit 907ab95

Browse files
1 parent 96ffdd7 commit 907ab95

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/clusterfuzz/_internal/bot/tasks/task_creation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ def preprocess_utasks_and_queue_ttasks(tasks: List[Optional[Task]]):
316316
task.name, task.argument, task.job, queue=task.queue_for_platform)
317317
logs.log(f'UTask {task.name} not remote.')
318318
continue
319+
if task.uworker_input is None:
320+
logs.log('No uworker_input.')
321+
continue
319322
_preprocess(task)
320323
yield task
321324

src/clusterfuzz/_internal/cron/schedule_progression_tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
"""Creates progression tasks."""
1515

1616
from clusterfuzz._internal.cron.helpers import tasks_scheduler
17+
from clusterfuzz._internal.system import environment
1718

1819

1920
def main():
2021
"""Creates progression tasks."""
22+
environment.set_bot_environment()
2123
task = 'progression'
2224
tasks_scheduler.schedule(task)
2325
return True

0 commit comments

Comments
 (0)