task.last is the same as taskGroup.last
See original GitHub issueIf task belongs to group, last
, lastRunning
, lastPerformed
, lastSuccessful
, lastComplete
, lastErrored
, lastCanceled
, lastIncomplete
, performCount
properties would be properties of group, not of task. That means it’s impossible to get a last value or last error of a particular task, if it belongs to group. It would be great to mention this in API documentation.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Airflow task groups | Astronomer Documentation
Airflow task groups. Use task groups to organize tasks in the Airflow UI DAG graph view. In this guide, you'll learn how to...
Read more >Airflow TaskGroups: All you need to know! - Marc Lamberti
A TaskGroup is a collection of closely related tasks on the same DAG that should be grouped together when the DAG is displayed...
Read more >Task groups in Azure Pipelines and TFS (classic)
A task group allows you to encapsulate a sequence of tasks, already defined in a build or a release pipeline, into a single...
Read more >4.6 Task Synchronization Using taskwait and taskgroup
You can synchronize tasks by using the taskwait or taskgroup directives. When a thread encounters a taskwait construct, the current task is suspended...
Read more >Task groups - Amazon Elastic Container Service
You can identify a set of related tasks as a task group . All tasks with the same task group name are considered...
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
@machty for example, if we have two or more tasks that can update/delete the same entity in database, we need to use a task group to prevent them from running at the same time. But if we need to display error or last returned value for each task separately (i.e. in different places on the page), we can’t
Unfortunately, this severely limits the usefulness of task groups. It’s necessary to be able to see the .last of each task in the group as well as the .last of the group.