Auto task timeout settings logic broken/unclear

Right now, the repository settings for auto task timeout either don’t seem to apply correctly, or aren’t clearly defined. If the settings for both the minimum number and minimum percent of completed tasks are enabled, the auto timeout is applied when only one of these conditions is met, rather than both. However, the implication of having two settings is that having both enabled requires them both to be satisfied, and there is no information to the contrary anywhere.

Case in point: I have (had) the repo settings configured to require 10 tasks AND 80% of tasks to be completed. However, the timeout is being applied to a job with 94 tasks, only 45 of which have completed.

So, is this a logic bug, or is the labeling of the options just misleading? And if the behavior is correct, can the settings be cleaned up and an option added to require both conditions to be satisfied rather than just one?

Thanks.

Hello Nathan,

I will pass this by the devs in the morning to get you a decent response on this request, so that there is more clarity to this feature.

Hey Nathan,

This is indeed a bug. If both options are enabled, then both requirements are supposed to be met. This will be fixed in 7.1.

Cheers,
Ryan

Great, thanks Ryan.