The Active switch on Tasks in the Flux2.0 UI doesn't appear to work

Hi,

I’ve noticed that the active switch associated with Tasks created through the Flux2.0 management GUI doesn’t appear to work. For example, when I schedule a cron-based task. When I deactivate the task using the active switch, the task still executes.

Is this a bug, or am I misunderstanding what the active switch refers to?

Thanks,
Mike

Hello,

I suspect this was caused by [bug]: Saving an inactive task activates it without toggling it to active state [backport 2.0] · Issue #22240 · influxdata/influxdb · GitHub, the fix for which will be included in the 2.0.9 OSS release. Prior to this fix, updating a task would cause it to be schedule to run even if it’s status was inactive. I have confirmed using the latest development version that toggling a task off via the UI does indeed stop its execution.