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

config: auto upgrade "suite_state" to "workflow_state" in compat mode #5835

Closed
oliver-sanders opened this issue Nov 21, 2023 · 0 comments · Fixed by #5864
Closed

config: auto upgrade "suite_state" to "workflow_state" in compat mode #5835

oliver-sanders opened this issue Nov 21, 2023 · 0 comments · Fixed by #5864
Assignees
Labels
could be better Not exactly a bug, but not ideal. small
Milestone

Comments

@oliver-sanders
Copy link
Member

oliver-sanders commented Nov 21, 2023

The suite_state xtrigger was renamed to workflow_state, this breaks Cylc 7-8 interoperability.

Ideally, we would back-support the old name in compat mode.

Suggestions:

  • Hack the config to replace "suite_state" with "workflow_state" and print a deprecation message (when not in compat mode).
  • Add an xtrigger called suite_state which imports workflow_state and logs a deprecation message (when not in compat mode).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
could be better Not exactly a bug, but not ideal. small
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants