Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Triggered future tasks, and prerequisite status? #6406

Open
hjoliver opened this issue Oct 13, 2024 · 0 comments
Open

Triggered future tasks, and prerequisite status? #6406

hjoliver opened this issue Oct 13, 2024 · 0 comments
Labels
question Flag this as a question for the next Cylc project meeting.
Milestone

Comments

@hjoliver
Copy link
Member

hjoliver commented Oct 13, 2024

[scheduling]
    [[graph]]
        R1 = "foo => a & b & c"
[runtime]
    [[foo]]
        script = "sleep 360"
     [[a, b, c]]
         script = false
         execution retry delays = PT5S

Run this sucker, and manually trigger a while foo is still running:

  • a will run, fail, and return to the waiting state to wait on its retry timer

Then on master:

  • a will not run job 02 immediately when the retry timer is done
    (it is waiting on foo:succeeded ... manual trigger of job 01 means "run now regardless of prerequisites")

Or, after #6395

  • a will run job 02 immediately when the retry timer is done
    (manual trigger satisfies the task's "off-flow" prerequisites)

I think the upcoming new behaviour is correct (although you can possibly argue it both ways). But it's certainly something we should document for users, because it could be surprising. I was surprised by the current behaviour on master, myself, until thinking a bit!

Question: do we agree the upcoming new behaviour correct?

If yes, close this issue after merging #6395 and documenting this aspect of it.

@hjoliver hjoliver added the question Flag this as a question for the next Cylc project meeting. label Oct 13, 2024
@hjoliver hjoliver added this to the 8.3.x milestone Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Flag this as a question for the next Cylc project meeting.
Projects
None yet
Development

No branches or pull requests

1 participant