This message was deleted.
# general
s
This message was deleted.
i
adding PULUMI_DEBUG_PROMISE_LEAKS doesn’t help at all, I am getting 1000+ messages
I probably know where is the issue, by removing empty promise hack from here (https://pulumi-community.slack.com/archives/C84L4E3N1/p1612887789413700)
it gets working inside
pulumi up
(preview) mode
but I really want to have that functionality, yesterday it was working like a charm
Copy code
pulumi.runtime.isDryRun()
    ? new Promise(() => {}) : new Promise(async (resolve, reject) => ....)
by giving an empty promise, pulumi was skipping resolving next child values
the value will be computed only after it will be deployed and available for read, so there is a
watch
promise that helps me to do that.
by adding resources around this dirty hack
new Promise(() => {})
I got this issue with leak
any suggestions?
Copy code
// Computed represents the absence of a property value, because it will be computed at some point in the future.  It
// contains a property value which represents the underlying expected type of the eventual property value.
How I can make this computed property from ts?
I’ve created the issue inside pulumi repo
256 Views