-
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
config: validate [runtime] task names #4199
Conversation
validate = partial( | ||
WorkflowConfig, | ||
reg, | ||
str(Path(run_dir, reg, 'flow.cylc')), | ||
ValidateOptions() | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Performing a full validation rather than just calling the TaskNameValidator
directly as the reported bug is more nuanced.
Looks good, apart from need to handle parameterised names
|
Parameters are expanded out before the names are validated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
How did you generate that error @MetRonnie ? |
It was in the tests, fixed now |
Closes #3160
Validate task names in the
[runtime]
section, autodocument from this code (corrects the docs on valid task name patterns).Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.