-
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
Formalise Suite Parameters #2799
Comments
See also #1032. |
Sounds sensible - as long as the solution is contained (which I believe would be). Caveats, probably to solve beyond the upcoming release:
|
Yep, sounds good. Ditto Matt's comments. |
On further investigation, this change has the potential to be quite dangerous and needs a lot of time for testing and stabilisation to ensure we don't release anything faulty so bumping this issue back. The approach I have employed in my attempts so far is:
|
Currently there are four main cycle point parameters:
My interpretation of this is that Unfortunately work on #2809 has revealed that the current usage of these parameters is mixed with their purpose becoming blurred. E.g. when restarting a suite For consistency between |
Note: suite parameters refers to a suite's runtime values (e.g.
is_held
) rather than cylc Parameters (as used in the suite.rc file).The Issue
At present Cylc handles a subset of a suite's "runtime parameters" which are loaded from the database when a suite is restarted:
is_held
start_point
stop_point
initial_point
warm_point
uuid_str
template_vars
The remaining parameters (which I've identified) should also benefit from the same treatment:
can_auto_stop
final_point
pool_hold_point
run_mode
stop_clock_time
stop_mode
stop_task
reloading
(doesn't make sense across restart but is still a suite param)?As these remaining parameters are not restart safe this is effectively a blocker for a universal implementation of #988.
The issue cannot be circumnavigated using the [current] CLI, e.g.
cylc stop SUITE POINT
sets thestop_point
whereascylc restart SUITE --until POINT
sets thefinal_point
Proposal
None
for all values) then apply in order:if is_restart:
State from the prior run (First subtracting any item(s) which caused the suite to shutdown e.g. customstop_point
).@cylc/core I've made an initial attempt at this:
The text was updated successfully, but these errors were encountered: