goodboy / tractor

A distributed, structured concurrent runtime for Python (and friends)
GNU Affero General Public License v3.0
265 stars 12 forks source link

`infected_asyncio` task hang (`SIGINT` ignored!) on debug mode breakpointing? #354

Open goodboy opened 1 year ago

goodboy commented 1 year ago

As found in d6ed97d0 of the #351 work, there is a nasty issue that causes an un-interrupt-able hang when we use enough tractor.breakpoint()s in the right spots and infected asyncio mode where the asyncio task somehow gets stuck in some kind of cancelled state (maybe?)

The whole thing needs to be more thoroughly investigated and a proper test suite built out.


ToDo testing: