You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, we only consider the function text when we hash closures. See https://github.com/pulumi/pulumi-aws/blob/master/overlays/serverless/function.ts#L60. This means that functions with the same text but different closure environments may collide and share a hash, which will result in us serializing only one copy and binding all references to that one copy. This is clearly wrong.
At the moment, we only consider the function text when we hash closures. See https://github.com/pulumi/pulumi-aws/blob/master/overlays/serverless/function.ts#L60. This means that functions with the same text but different closure environments may collide and share a hash, which will result in us serializing only one copy and binding all references to that one copy. This is clearly wrong.
Good catch from @CyrusNajmabadi.
The text was updated successfully, but these errors were encountered: