Skip to content

Commit

Permalink
Document build_data_list behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
letitz committed Oct 1, 2024
1 parent f058bfd commit 7b250a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/clusterfuzz/_internal/bot/tasks/utasks/regression_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ def check_latest_revisions(
The last revision in `revision_range` is assumed to crash.
Adds information about any bad builds encountered while running to
`output.build_data_list`.
Returns:
An output proto if the regression was found or in case of error.
None otherwise, i.e. if all most recent revisions crash, in which case
Expand Down Expand Up @@ -200,6 +203,9 @@ def check_earliest_revisions(
) -> Optional[uworker_msg_pb2.Output]: # pylint: disable=no-member
"""Check that the earliest good build does not crash.
Adds information about any bad builds encountered while running to
`regression_task_output.build_data_list`.
Returns:
None if one of the earliest builds is good and does not crash.
An output proto if:
Expand Down

0 comments on commit 7b250a3

Please sign in to comment.