2016 Roadmap Item : Allow depends_on_past=True for Skipped tasks
See original GitHub issueThere 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
- Tasks skipped during the execution of ShortCircuit or Branch python operators
- DAGs or Tasks that we would like to manually skip as described in https://github.com/airbnb/airflow/issues/262
- DAGs that specific
only_run_latest
as in https://github.com/airbnb/airflow/issues/59. In these cases, we want to skip DAG Runs except for the latest. Unfortunately, if we skip all but the latest, the latest will not run ifdepends_on_past=True
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)
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Skip a task for a particular item - ServiceNow Community
Hello All, Need help, what i want is : Task to be skipped on using a particular catalog item. 13 items using same...
Read more >Should have the ability to skip custom hierarchy in Advanced ...
Currently when we define the custom hierarchy in Advanced Roadmaps like. Initiative --> Program --> Epic --> Story --> Sub-Task.
Read more >Video: Welcome to Roadmap - Microsoft Support
You may not have the right license, or your admin needs to enable it. Overview. Use Roadmap to: Create a view of your...
Read more >How should I avoid skipped tasks from displaying on the console
I am able to hide "skipping" tags under the task header with the help of "display_skipped_hosts" parameter in ansible.cfg file. However TASK is...
Read more >How can I hide skipped tasks output in Ansible - Stack Overflow
cfg property, although It has the same effect as skippy callback plugin. But thank you for your answer. – 32cupo. Aug 30, 2016...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@griffinqiu Pull the latest and let me know if you have other issues.
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 theonly_run_latest
feature? Thanks!