https://pulumi.com logo
#python
Title
# python
h

high-translator-22614

07/03/2019, 3:55 PM
ok, just for kicks, i tried doing the initialization of a
ComponentResource
in a coroutine wrapped in a
Task
and pulumi just hung
w

white-balloon-205

07/03/2019, 4:20 PM
Would you mind opening an issue on this (with the details from this and the other related investigations you’ve done). We will have someone take a look.
h

high-translator-22614

07/03/2019, 5:11 PM
huh, a minimum case didn't reproduce the issue, so it might have been something in my wrapper stuff (discussed in #contribute)
This is getting weird. My initial implementation caused pulumi to hang. The minimum implementation works perfectly. My current implementation lets pulumi complete, but the initialization task has some weird blocking errors so it never initializes
oh, it's currently stopping at the first
await
and never finishes
.... eh?
🤦‍♀️ Exceptions in tasks get silently discarded