server icon indicating copy to clipboard operation
server copied to clipboard

[FEATURE] custom execution order of pretasks within supertask

Open rixvet opened this issue 3 years ago • 1 comments

Currently the permissions set an a task created from a supertask get inherited from the pretask priority set, how-ever conditions apply in which a pretask priority default can differ per supertask.

Example Take two pretasks:

  • pretask A '<4-digits>' with priority 100;
  • pretask B '<wordlist'> with priority 50.

And following conditions:

  • Supertask X will need to have pretask A be executed before pretask B.
  • Supertask Y will need to have pretask B be executed before pretask A.

Current behaviour Currently creating supertask Y requires creating additional pretask C which has the same function as pretask B '<wordlist'> and priority higher than pretask A. This level of duplication makes management of pretasks confusing and creation of supertasks more difficult.

Request Being able to specify execution order of pretasks within supertask, by for example allow to override pretask priority within supertask.

rixvet avatar Feb 01 '23 07:02 rixvet

At a slightly related note, setting the pretask priority on the supertasks.php page changes the priority on the 'base' pretask and not per-supertask basis. This is makes the current behavior rather confusing: image

rixvet avatar Feb 01 '23 08:02 rixvet