This message was deleted.
# automation-api
s
This message was deleted.
c
Hi Brian! Indeed the PR you linked is intended for exactly this functionality. I have concurrency working via the automation API in that PR, but have yet to resolve the regressions introduced to some other tests. It should be very close to done, but I haven't had time to come back to it and finish it off.
🙌 1
r
Hey Kyle! Thanks for the prompt response, no worries at all. Honestly I didn't realize Node.js had something similar to the golang/Deno context module until going down this path and looking through your PR haha. Thank you for the closure and clarification 😄
c
Happy I could be helpful! These context implementations for both Node and Python are relatively new! There was an earlier PR to implement this for Python, but Node has a few extra gotchas that have slowed it down a bit. I'm hopeful to have this done soon, though!
👍 1
👀 1
r
ah, actually it seems like my problem is different, and very strange. I just tested with the Pulumi CLI and got the same results (the two stacks in the screenshot are separate Pulumi stacks/micro-stacks with separate directories). So I think my problem was completely detached from the automation API and is instead closer to an issue with my state: Interestingly, if I rename the stacks to something other than "one" and "two", the problem completely goes away. This leads me to believe I have some corrupt state, however I tried completely removing the stacks and recreating them (
stack rm
) without luck. Maybe the projects "one" and "two" have the same reference in the state. Worth noting I'm locally hosting state since I'm just testing Pulumi right now. Unfortunately this is hard for me to reproduce, I suppose I could just move on starting completely from scratch (removing all Pulumi state) or just use different stack names. In any event my problem is "fixed" but there is still some confusion as to the state issue (or other issue), and also I wish I could provide some repro steps Or of course I'm still missing something and there was just a bug in my code/workflow!
OH I finally discovered the problem here: https://github.com/pulumi/pulumi/issues/2814#issuecomment-512723246 I have this exact issue. That makes sense to me now since local state doesn't support project in stack identity/orgs (https://github.com/pulumi/pulumi/issues/2522). So I'll just track that I suppose!