Coder Social home page Coder Social logo

Comments (3)

arjclark avatar arjclark commented on August 24, 2024

@hjoliver - this one's so hard to know what to do with as its so dependent on what the desired behaviour would be. I think often, as you say, the polling task is used as a blocker so that later tasks that assume the presence of a particular file don't get run. Quite like the idea of expiry but only in the context of "if I'm late I might be ok to run a file check instead before proceeding with my workflow".

The only code based enhancement I can think of would be to finesse the poller in some way so you could provide an option to treat polling for cycle points that would be before the cold/warm point of a recently restarted as "successful" in a similar (but definitely not equivalent as its never treated as a task success) manner to how dependencies on pre-start points get stripped out - perhaps a "--succeed-if-prestart" option?

from cylc-doc.

hjoliver avatar hjoliver commented on August 24, 2024

+1 for @arjclark's last suggestion above, from a user at NIWA. (Although I'm not sure of the impact: would we have to look up the earliest cycle point every time a poll fails, and is that easy and quick to do?)

from cylc-doc.

arjclark avatar arjclark commented on August 24, 2024

@hjoliver - easy: yes, quick: not necessarily. I can think of several ways to do it and you could potentially make things easier by providing a cutoff -i.e. --succeed-pre YYYYMMDDTHHZ type option on the invocation side for when you're using either a generic script of the graphing inlined poller task if you know that the suite won't have any entries prior to that.

from cylc-doc.

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.