-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add "preparing" to list of filterable states. #4782
Comments
With "waiting" enabled you end up with lots of tasks listed with no associated jobs which is pointless. |
I can't see how to do this. I don't think it's possible in a straightforward way because of the way the filtering is setup (separately for task and job states) - @dpmatthews & @hjoliver - Do we want "waiting" defaulting to on or off at Cylc 8? Will we have as many waiting tasks at Cylc8? |
Presumably Cylc 7 had loads of those, due to pre-spawning of waiting tasks. Cylc 8 only has "active waiting" tasks: i.e., with partially satisfied task prerequisites, or fully satisfied but waiting on a clock trigger or other xtrigger. So I would think it's OK not to discard those or filter them out by default in |
I think #4897 actually closes this issue. |
Describe exactly what you would like to see in an upcoming release
In the "Tasks" view use the detection of Cylc version to change the list of filterable task state tick boxes.
If the workflow is Cylc 8:
state="preparing"
Additionally at Cylc 7 #2938 waiting was unticked by default. We should examine #2938, to see if we can enable the tickbox by default for Cylc 8 flows.
Additional context
The code change should be near the assignment of
task_statuses
at line 320 ofreview.py
. You may also wish to add a clone ofTASK_STATUSES_ORDERED
intask_state
to hold Cylc 8 task states.Testing
This is a legacy back compatibility piece of functionality, and should be tested manually.
Pull requests welcome!
The text was updated successfully, but these errors were encountered: