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

runahead update on manual trigger #6007

Open
hjoliver opened this issue Mar 1, 2024 · 0 comments
Open

runahead update on manual trigger #6007

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

Comments

@hjoliver
Copy link
Member

hjoliver commented Mar 1, 2024

[scheduler]
   allow implicit tasks = True
[scheduling]
   cycling mode = integer
   [[graph]]
      P1 = """
         get => foo => bar & baz
                 foo[-P1] => foo
      """
[runtime]
   [[root]]
       script = "sleep 10"

Wait till the workflow moves on to e.g. cycle point 10, then trigger 1/foo with --flow=new.

All the foos will be spawned out to the current runahead limit before it gets updated to reflect the fact that the runahead base point has moved back to cycle point 1.

That's a bug under current intended behaviour.

However, in principle we should never reset the runahead limit backwards, at least not by default: if a new task or flow gets triggered earlier in the graph, why should we suddenly pause the main flow-front with a new, more restrictive runahead limit?

So: QUESTION

  • Should we default to never settting the runahead limit backwards
  • But provide a workflow setting, or a manual-trigger command option, to allow it for pragmatic reasons (workflow so big that performance is an issue for multiple concurrent flows: possibly it should be a workflow-specific thing).
@hjoliver hjoliver added the bug label Mar 1, 2024
@hjoliver hjoliver added this to the cylc-8.x milestone Mar 1, 2024
@hjoliver hjoliver added the question Flag this as a question for the next Cylc project meeting. label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug question Flag this as a question for the next Cylc project meeting.
Projects
None yet
Development

No branches or pull requests

1 participant