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

Set in task context menu behaves different than most(?) other options #1962

Closed
jarich opened this issue Oct 9, 2024 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@jarich
Copy link

jarich commented Oct 9, 2024

Description

If I want to hold, broadcast, edit runtime, view logs etc, I can click on anywhere in the relevant line in the task context menu and get the desired behaviour, although clicking the pencil on the right hand side might give me more options.

This is not true for "Set". If I click anywhere on the Set line, that isn't the pencil, the task context menu closes with no evident effect.

Expected Behaviour

I expect clicking on the "Set" line to behave the same as Broadcast and Edit Runtime and bring up the Set submenu allowing me to actually set the values required.

@jarich jarich added the bug Something isn't working label Oct 9, 2024
@oliver-sanders
Copy link
Member

oliver-sanders commented Oct 9, 2024

Hi,

The cylc set functionality seems to be working as expected for me (test using the latest released versions):

set

By default, cylc set will satisfy all of a task's "required" outputs. Typically this is just "succeeded", hence in my example the tasks I set go from waiting (empty circle) to succeeded (filled circle).

What are the required outputs for the task you are attempting to set? Is success is optional?

Note, the cylc show command will reveal a task's output completion expression.

@jarich
Copy link
Author

jarich commented Oct 10, 2024

Thank you for the clarification. Success is optional on the thing I was testing, so that would be the reason for what I was seeing. That's an excellent demonstration, gif. I'll update my documentation.

@jarich jarich closed this as completed Oct 10, 2024
@oliver-sanders
Copy link
Member

It's a good point about visual feedback for tasks where success is optional. It's not at all obvious what has happened in this case.

The long-term goal is to be able to track commands after they have been issued so we can display some information about their outcome. E.G, "this task does not have any required outputs". The prerequsite for this is cylc/cylc-flow#3329

There's a vague outline of what this might look like:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants