-
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
id: preserve selectors for "task" and "workflow" properties #5188
Conversation
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.
LGTM hang on ...
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.
Doesn't fix the original reported problem...
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.
OK, to close the issue we need to detokenise IDs with selectors=True
in the CLI scripts. I'll post a PR to your branch.
I'd like to get this into 8.0.3 - consider it approved if my side-PR is good.
* Selectors were not correctly preserved for the `task` and `workflow` properties of `Tokens` objects. * This effectively stripped cycle/task selectors from IDs passed to `cylc trigger`. * Closes cylc#5186
uid: include selectors in detokenised IDs where required * Add a new interface for retrieving the string ID including selectors from `Tokens` objects. * Use this for CLI scripts which utilise selectors (e.g. `kill`). * Fixes a bug where selectors provided on the CLI were silently stripped before being passed through GraphQL.
(deconflicted) |
task
andworkflow
properties ofTokens
objects.cylc trigger
.Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.CHANGES.md
entry included if this is a change that can affect users