Skip to content

Conversation

@savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Nov 13, 2025

Before:
image

With --async-aware:
Screenshot 2025-11-14 at 9 49 19 AM

And just for posterity, here's what pstree returns for the program:

└── (T) Task-1
    └──  main /Users/savannah/code/cpython/sandbox/test_simple_async.py:59
        └──  wait_for /Users/savannah/code/cpython/Lib/asyncio/tasks.py:488
            └── (T) Supervisor
                └──  supervisor /Users/savannah/code/cpython/sandbox/test_simple_async.py:41
                    ├── (T) Worker-0
                    │   └──  worker /Users/savannah/code/cpython/sandbox/test_simple_async.py:24
                    │       └── (T) LeafTask-0
                    │           └──  leaf_work /Users/savannah/code/cpython/sandbox/test_simple_async.py:13
                    │               └──  sleep /Users/savannah/code/cpython/Lib/asyncio/tasks.py:702
                    ├── (T) Worker-1
                    │   └──  worker /Users/savannah/code/cpython/sandbox/test_simple_async.py:24
                    │       └── (T) LeafTask-1
                    │           └──  leaf_work /Users/savannah/code/cpython/sandbox/test_simple_async.py:13
                    │               └──  sleep /Users/savannah/code/cpython/Lib/asyncio/tasks.py:702
                    └── (T) Worker-2
                        └──  worker /Users/savannah/code/cpython/sandbox/test_simple_async.py:24
                            └── (T) LeafTask-2
                                └──  leaf_work /Users/savannah/code/cpython/sandbox/test_simple_async.py:13
                                    └──  sleep /Users/savannah/code/cpython/Lib/asyncio/tasks.py:702```

@savannahostrowski
Copy link
Member Author

@pablogsal Opening as draft for now so we can discuss 😄

@savannahostrowski savannahostrowski changed the title Add async code awareness to Tachyon GH-141565: Add async code awareness to Tachyon Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants