-
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
Changed behaviour in handling template variables passed via cli #6058
Comments
The |
-s is a native Cylc feature: As such it ought to be safe as a work-around. I will examine this when I get into the office. |
We recently changed this: cylc/cylc-rose#302 Shouldn't be related? |
I don't think* that should be causing this change. * To a very high level of certainty. |
I can confirm that this
Results from multiple runs suggest that this may be a change to Cylc.
Cause of the bug! |
Overview of solutionFor Cylc 8.2.x:#6059 - Cleaned all 3 config items on this branch. For Cylc 8.3.0 and Cylc Rose 1.4.0 (master branches in both repos)#6060 - remove all the cleaning code from Cylc-flow |
Closed by cylc/cylc-rose#312 |
Description
I think that there has been a change in behaviour in handling template variables passed to workflows via the
-S
cli option inv8.2.5
.In
v8.2.3
, a template variable passed via-S
would override that variable set in optional config files. Inv8.2.5
, it looks like this behaviour is reversed, and the setting in optional config will override the setting passed to-S
.Reproducible Example
Example test suite containing;
[flow.cylc]
[opt/rose-suite-common.conf]
Variables passed using
-S
are ignored, and the workflow runs with the settings fromopt/rose-suite-common.conf
;Expected Behaviour
The setting passed via
-S
overrides other configI seems that I get the behaviour that I'm looking for if I use
-s
instead of-S
, so I could potentially use that as a workaround, but I don't have a good understanding of the difference between these two options. I note that-s
will currently not allow variables to be updated on reload (#5965 / #6045), are there any other significant differences between these two options (i.e.,-s
vs-S
)?The text was updated successfully, but these errors were encountered: