cylc / cylc-flow

Cylc: a workflow engine for cycling systems.
https://cylc.github.io
GNU General Public License v3.0
335 stars 94 forks source link

Fix potential type error & a few small mistakes #6357

Closed MetRonnie closed 2 months ago

MetRonnie commented 2 months ago

Small change with no associated issue

Check List

MetRonnie commented 2 months ago

Another similar mistake spotted for the TaskPool.spawn_task() method (not to be confused with TaskEventsManager.spawn_func() mentioned before): https://github.com/cylc/cylc-flow/blob/f30f0c289e1cb803808df4f9131424c23e00b71e/cylc/flow/task_pool.py#L1657-L1664

flow_wait is incorrectly passed to the force argument in 2 places:

https://github.com/cylc/cylc-flow/blob/f30f0c289e1cb803808df4f9131424c23e00b71e/cylc/flow/task_pool.py#L744-L745

https://github.com/cylc/cylc-flow/blob/f30f0c289e1cb803808df4f9131424c23e00b71e/cylc/flow/task_pool.py#L2015-L2020

hjoliver commented 2 months ago

(Ah, yeah I found that in my group-trigger branch, which I haven't exposed to you all yet)

MetRonnie commented 2 months ago

Can bump to 8.3.5 if needed