question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

task.last is the same as taskGroup.last

See original GitHub issue

If 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:open
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
GendelfLuganskcommented, Mar 12, 2019

@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

2reactions
mwpastorecommented, Nov 2, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found