Skip to content

2016 Roadmap Item : Allow depends_on_past=True for Skipped tasks #1155

Closed

Description

@r39132

There is a problem with tasks that have been skipped and have depends_on_past=True. Future instances of the task won't run. This does not make sense. Instead, if a previous instance of a task has been skipped and depends_on_past=True, schedule the task anyway -- in essence, treat a SKIPPED as a SUCCESS.

That is what this issue address.

There are many cases where would like to mark a task/DAG as skipped

In order to tackle all of these, we need to modify the system to treat Skipped as Success. Additionally, we may want to describe each of these skipped differently (e.g. skipped_condtional, skipped_data_issue, skipped_only_run_latest)

cc @mistercrunch @bolkedebruin @criccomini

Activity

  1. self-assigned this
    on Mar 16, 2016
  2. changed the title [-]Allow depends_on_past=True for Skipped tasks[/-] [+]2016 Roadmap Item : Allow depends_on_past=True for Skipped tasks[/+] on Mar 16, 2016
  3. added
    kind:bug
    and removed on Mar 16, 2016
  4. griffinqiu commented on Mar 16, 2016

    @griffinqiu

    +10086

  5. griffinqiu commented on Mar 16, 2016

    @griffinqiu

    For my case:
    Some of tasks run as hourly and some tasks only run as daily in one DAG. The reason of set depends_on_past to True BCS the today's DAGRUN depend on yesterday result.

    #914

  6. r39132 commented on Mar 18, 2016

    @r39132
    ContributorAuthor

    screenshot 2016-03-18 07 15 49

    This issue is now fixed. I will be submitting a PR soon.

  7. r39132 commented on Mar 19, 2016

    @r39132
    ContributorAuthor

    @griffinqiu Pull the latest and let me know if you have other issues.

  8. pkexcellent commented on Mar 25, 2016

    @pkexcellent

    Hi, I really need to use the only_run_latest feature, but I do not know how to use is in my code. Is this a feature has not beed developed or I just missed it? Can you give me a example of task declaration ? If this feature is not developed, how can I implement my code to realize the only_run_latest feature? Thanks!

  9. added
    Roadmap
    on Mar 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Roadmapkind:bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions