-
Notifications
You must be signed in to change notification settings - Fork 94
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
play: support multiple workflows #6303
Comments
At present It's a slightly tricky thing to implement due to some of the options |
It's a valid point though. Intuitively, if you pause a bunch of workflows with a single command you should be able to un-pause them with a single command too.
For start-up, I suppose we could prompt for confirmation if
Aside from If that's the only issue, I think it's reasonable to assume that all options apply to all workflows on the command line, otherwise don't "play" them en masse. |
Yes, this is what I was expecting, as you say, intuitively. It's not a major problem or anything like that of course, low priority to consider for me, etc |
I think it would be easier to raise an error. I don't think we should encourage using the
Would need to go through the option properly, There shouldn't be any fatal blockers, just needs work, it isn't a one-liner. |
Another technical barrier to cross (related to #6297). If restarting (as opposed to resuming) a workflow, the restart code must be called synchronously with no asyncio event loops running. This is a bit awkward as the code will be async up to this point (e.g. because workflow scanning is async) and effectively means that the schedulers could only be started in series (though that isn't necessarily a bad way to get this functionality started). The easy way out is probably just to call the restart part in a new process where it is detached from the async logic of the parent process. |
Problem
I can pause multiple workflows by doing
cylc pause *pattern*
. But, when I want to resume them, I have to dofor w in *pattern*; do cylc play $w; done
(or similar).Proposed Solution
Should
cylc play
work on multiple workflows?The text was updated successfully, but these errors were encountered: