cylc / cylc-flow

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

reload after xtrigger arg change #6259

Open hjoliver opened 3 months ago

hjoliver commented 3 months ago

Reportedly, cylc vr on a running workflow (i.e., reload) does not update the clock trigger time. Stopping the scheduler first (i.e., restart) does get it right.

[UPDATE] Confirmed, using a minimal example:

[scheduling]
    initial cycle point = now
    [[xtriggers]]
       # x = wall_clock(offset=P0Y)
        x = wall_clock(offset=P1Y)
    [[graph]]
        PT1M = "@x => foo"
[runtime]
    [[foo]]
hjoliver commented 3 months ago

I think this probably affects all xtriggers, not just clock-triggers.

Draft fix posted.