Scheduler should track which tasks are spawned by other tasks
Open
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 778
- Avg merge
- 2h 50m
- Merged PRs (30d)
- 3
Description
For debugging it would be convenient for the scheduler to track the lineage when tasks spawn other tasks.
This is made somewhat difficult by the fact that the same client is shared by many tasks in the same worker. However we can refer against `active_threads` to get the task name. We would want to verify that this doesn't cause a significant cost in the common case.
Contributor guide
Assessment
This issue has not been assessed yet.