semaphore icon indicating copy to clipboard operation
semaphore copied to clipboard

Allow Parallel Tasks if GitUrl is path.

Open jdhayes opened this issue 1 year ago • 2 comments

Check if Git starts with '/' (is path not url) then skip limiting tasks. This way we can allow concurrent tasks within the same template , as long as it is safe (ie. not running git pull).

jdhayes avatar Oct 16 '24 18:10 jdhayes

@fiftin This is very useful, it will allow a Task Template to run multiple tasks without compromising the 1 task per limit for "normal" GitUrl based repositories.

jdhayes avatar Oct 16 '24 21:10 jdhayes

@jdhayes did you test it?

fiftin avatar Oct 16 '24 22:10 fiftin

Sorry for the lack of response. Yes, I have tested the proposed patch, and I am still currently using this today.

jdhayes avatar Jun 25 '25 21:06 jdhayes

@fiftin Does the flag allow_parallel you mentioned allow parallelism if tasks are under the same project? Or is that to address something else?

jdhayes avatar Jun 25 '25 22:06 jdhayes

Hi @jdhayes I think this implicit behaviour for local repos might confuse users. We should add a flag in the template settings UI to control this feature.

fiftin avatar Jun 27 '25 20:06 fiftin

OK, either way. I am not picky on how the feature is enabling parallel tasks, just as long as multiple tasks can run under the same project task template :)

jdhayes avatar Jun 27 '25 22:06 jdhayes

Any timeline for such a feature?

jdhayes avatar Jun 27 '25 22:06 jdhayes