-
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
workflow-state: handle submitted as a message/trigger not status #6157
Comments
I commented on this in the recent workflow-state overhaul PR, here: Initially I did automatically convert transient statuses to outputs, but backed out of that for the following reasons:
Maybe that was the wrong call, but @MetRonnie seemed satisfied at the time. |
Definitely not deliberate.
Agreed on all counts. |
* Do not allow users to poll for transient statuses. * Reject invalid task states. * Reject polling waiting and preparing tasks (not reliably pollable). * Closes cylc#6157
* Do not allow users to poll for transient statuses. * Reject invalid task states. * Reject polling waiting and preparing tasks (not reliably pollable). * Closes cylc#6157
* Do not allow users to poll for transient statuses. * Reject invalid task states. * Reject polling waiting and preparing tasks (not reliably pollable). * Closes cylc#6157
* Do not allow users to poll for transient statuses. * Reject invalid task states. * Reject polling waiting and preparing tasks (not reliably pollable). * Closes cylc#6157
The workflow-state command defaults to polling task status rather than task trigger.
The CLI upgrade advise tells you to upgrade an existing message poller into a status poller:
This is inconsistent with the xtrigger upgrade advice which tells you to use
is_message=True
:The CLI advice becomes a problem in the case of the
submitted
output. Becausesubmitted
is a status, it defaults to status polling. However, the submitted status is transitory so this test is not safe.Suggest:
The text was updated successfully, but these errors were encountered: