Experimental feature: expire triggers

A new experimental feature in Cylc 8.6 reimplements suicide triggers as expire triggers.

R1 = “foo => !bar”  # if foo succeeds, expire bar

The only functional effects of this change should be:

  • it fixes a bug that allowed suicide-triggered tasks to resurrect via other dependencies
  • you can now use theexpired output and event handler for tasks removed in this way
    • (and this will happen automatically if suicide-triggered tasks already use those - unlikely)

We’ve released this as an opt-in experimental feature, just in case it has any unforeseen consequences. Please do opt-in and try it though, while you can still back out if necessary.

In the absence of negative consequences this will become standard in a future release.

To test this feature, add the following to your flow.cylc file:

# opt into the "expire triggers" experimental feature
[scheduler]
    [experimental]
        expire triggers = True

This configuration will be short-lived, there is also an option to opt into all experimental features (which will be long lived):

# opt into all experimental features
[scheduler]
    [experimental]
        all = True
1 Like