We’re trying to use the automation api with nextjs...
# automation-api
p
We’re trying to use the automation api with nextjs but are getting complaints about multiple pulumi versions running, but there is only one version based on yarn why. Is https://github.com/pulumi/pulumi/issues/5449 still an issue given that it was closed as resolved?
l
Can you post the exact error that you're seeing? If you look at your yarn lockfile and search for
@pulumi/pulumi
do you see multiple entries?
p
We’ve decided to lean more on temporal for the backend, but there was only one version in the lockfile. I think the issue may have been that there are multiple calls into the server (which obviously results in concurrent previews).
l
If you have a repro, would definitely appreciate a new issue via github.com/pulumi/pulumi/issues/new
If you're running pulumi updates within temporal, might be worth looking at deployments: https://www.pulumi.com/docs/pulumi-cloud/deployments/ An API to run a pulumi update via Pulumi Cloud. Easy to build custom workflows on top of.