The documentation indicates that dependency cachin...
# pulumi-deployments
f
The documentation indicates that dependency caching should work for pnpm monorepos but this is what I am seeing in the "Save cache" step:
Copy code
$ /pulumi-deploy-executor cache save --workDir="/deployment/infra/api" --stackIdentity="..."
Detecting cachable directories automatically based on project runtime...
Detected project runtime: nodejs
Skipping caching step: unable to identify package manager: no packageManager field in package.json and no supported lockfiles found
My root
package.json
has
"packageManager": "pnpm@11.24.0+sha512.bd27e345e976dcb0be0b7a1228217b049a817e21b1f355c90dbe7dc46671895a8bc1e6d06c24554505ea93ea0b45f489a27ec1bfbc8de6a9659fca0f16fa0000"
and I have
pnpm-lock.yaml
in the root of my repo as well. One other factor is that I have
enableGlobalVirtualStore: true
. Is this a bug or am I doing something wrong? Is there a correct repo for me to look at and open an issue?
n
It looks like caching support for pnpm might not work for the monorepo layout. It looks like it expects there to only be a root level package.json. Let me see what the best way is to track this request
b
https://github.com/pulumi/pulumi-cloud-requests is the best place for feature requests for Pulumi Cloud (or indeed bug reports)