Skip to content

Commit cb29136

Browse files
authored
Move bisection request to earlier in progression_task. (#3968)
This needs to run even in the case that the crash still reproduces on the latest revision.
1 parent efa4df6 commit cb29136

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/clusterfuzz/_internal/bot/tasks/utasks/progression_task.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,12 @@ def utask_postprocess(output: uworker_msg_pb2.Output):
700700
_ERROR_HANDLER.handle(output)
701701
return
702702

703+
# If there is a fine grained bisection service available, request it. Both
704+
# regression and fixed ranges are requested once. Regression is also requested
705+
# here as the bisection service may require details that are not yet available
706+
# (e.g. issue ID) at the time regress_task completes.
707+
bisection.request_bisection(testcase)
708+
703709
if task_output and task_output.crash_on_latest:
704710
crash_on_latest(output)
705711
return
@@ -728,9 +734,3 @@ def utask_postprocess(output: uworker_msg_pb2.Output):
728734
if task_output.HasField('min_revision'):
729735
_save_fixed_range(output.uworker_input.testcase_id,
730736
task_output.min_revision, task_output.max_revision)
731-
732-
# If there is a fine grained bisection service available, request it. Both
733-
# regression and fixed ranges are requested once. Regression is also requested
734-
# here as the bisection service may require details that are not yet available
735-
# (e.g. issue ID) at the time regress_task completes.
736-
bisection.request_bisection(testcase)

0 commit comments

Comments
 (0)