Giter Club home page Giter Club logo

Comments (8)

hjoliver avatar hjoliver commented on June 30, 2024

What do you mean by 2 exactly? (Hold and release are task-specific, so you need to get a task menu).

from cylc-ui.

ColemanTom avatar ColemanTom commented on June 30, 2024

Hold/Release is available from the top menu, not just at the task level. They provide a default of */* which you can modify.

image

I would like to have Hold-all/Release-all (automatically keeps it as */*) in a similar area to the Play/Pause buttons.

image

from cylc-ui.

hjoliver avatar hjoliver commented on June 30, 2024

Ah, got it, thanks.

Note we still have the (potentially confusing) issue that "hold all" doesn't have quite the same effect in Cylc 8 as it did in Cylc 7 (with its pre-spawned waiting tasks). If you hold an active task it won't submit any more jobs itself (e.g. by retries) but it will still spawn downstream children (off of completed outputs) that won't be held (unless they existed already as waiting tasks in the scheduler's active window, at hold time, due to being partially satisfied or parentless).

from cylc-ui.

oliver-sanders avatar oliver-sanders commented on June 30, 2024

Hold is already available from the task menu. Making it more visible from the workflow menu wouldn't make it any more accessible to you for your use case because either way you need to click the pencil symbol and edit the task pattern to *.

We have limited space in the default command list, the main use case for hold is to hold specific tasks/families/cycles, the use case for pause is to "hold" the workflow.

Closing this as it won't make holding all tasks any easier for your use case.

from cylc-ui.

ColemanTom avatar ColemanTom commented on June 30, 2024

I disagree with your assessment.

I'm suggesting hold all, automaticaly does */*. How would that not make it quicker and easier? Pause does not hold a workflow, it stops it from doing anything, including trickling tasks through. If I pause a workflow, trigger a task, nothing happens, its pretty useless for general use and support when you want to trickle tasks through, one at a time.

from cylc-ui.

hjoliver avatar hjoliver commented on June 30, 2024

I think you have a point.

But it might make more sense to allow tasks to be manually triggered when the workflow is paused. @oliver-sanders - do you recall if we had a good reason not to allow that?

from cylc-ui.

MetRonnie avatar MetRonnie commented on June 30, 2024

(Closing as not planned as this is not known to be a common working practice, but can still be achieved on the command line)

from cylc-ui.

hjoliver avatar hjoliver commented on June 30, 2024

as this is not known to be a common working practice,

Hmmm, in the early stages of developing or debugging a workflow, I'd say starting it in a "paused" state (in the general meaning of the word) and manually triggering one task at a time is actually a common and useful working practice.

But as per my question to Oliver above, the better way to do it might be to allow manual triggering in the paused state, rather than "hold-all" (which currently doesn't do what many users expect anyway, due to held active tasks still spawning and running children). I'll put an issue up for that...

from cylc-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.