rhythmic-hair-33677
08/05/2024, 2:50 PMpulumi up
?little-cartoon-10569
08/05/2024, 8:53 PM--verbose 9
) for more output. You can also profile the CPU and memory usage if you think there might be a problem there (--memprofilerate
, --profiling
, --tracing
), but generally it's the network requests and waiting for them to return that takes a while.
You can check to see if you have unnecessary dependencies causing reduced parallelism.little-cartoon-10569
08/05/2024, 8:54 PMrhythmic-hair-33677
08/06/2024, 5:01 AMrhythmic-hair-33677
08/06/2024, 5:23 AMlittle-cartoon-10569
08/06/2024, 5:33 AMlittle-cartoon-10569
08/06/2024, 5:34 AMrhythmic-hair-33677
08/06/2024, 6:18 AMrhythmic-hair-33677
08/06/2024, 6:22 AMrhythmic-hair-33677
08/06/2024, 6:26 AMrhythmic-hair-33677
08/06/2024, 6:35 AM❯ pulumi about
CLI
Version 3.127.0
Go Version go1.22.5
Go Compiler gc
Plugins
KIND NAME VERSION
resource gcp 7.34.0
resource gcp 7.33.0
language nodejs unknown
resource random 4.16.3
resource random 4.16.3
Host
OS ubuntu
Version 22.04
Arch x86_64
This project is written in nodejs: executable='/usr/bin/node' version='v20.16.0'
Backend
Name code-server
URL file://~
User ubuntu
Organizations
Token type personal
Pulumi locates its logs in /tmp by default
warning: Failed to get information about the Pulumi program's dependencies: could not find either /home/ubuntu/code/git.kalinow.ski/nimbus/infra/yarn.lock or /home/ubuntu/code/git.kalinow.ski/nimbus/infra/package-lock.json
warning: Failed to get information about the current stack: No current snapshot
rhythmic-hair-33677
08/06/2024, 6:36 AMrhythmic-hair-33677
08/06/2024, 6:41 AM$ pulumi -v=9 --tracing file:pulumi.trace --logtostderr preview
I0806 06:05:59.734891 584610 util.go:617] errors detecting git metadata: 1 error occurred:
* detecting Git remote URL: could not read origin information: remote not found
Previewing update (dev):
I0806 06:05:59.843070 584610 update.go:210] *** Starting Update(preview=true) ***
I0806 06:05:59.843511 584610 plugins.go:124] gatherPluginsFromProgram(): gathering plugins from language host
I0806 06:05:59.843709 584610 plugins.go:1809] GetPluginPath(language, nodejs, <nil>): found on $PATH /home/ubuntu/.pulumi/bin/pulumi-language-nodejs
I0806 06:05:59.843976 584610 plugins.go:1832] GetPluginPath(language, nodejs, <nil>): found next to current executable /home/ubuntu/.pulumi/bin/pulumi-language-nodejs
I0806 06:05:59.844194 584610 plugin.go:186] newPlugin(): Launching plugin 'nodejs' from '/home/ubuntu/.pulumi/bin/pulumi-language-nodejs' with args: -packagemanager=pnpm,-typescript=false,-root=/home/ubuntu/code/git.kalinow.ski/nimbus/infra,127.0.0.1:33579
I0806 06:05:59.908294 584610 langruntime_plugin.go:250] langhost[nodejs].GetPluginInfo() executing
I0806 06:05:59.909864 584610 langruntime_plugin.go:137] langhost[nodejs].GetRequiredPlugins(root=/home/ubuntu/code/git.kalinow.ski/nimbus/infra, program=/home/ubuntu/code/git.kalinow.ski/nimbus/infra, entryPoint=.) executing
I0806 06:06:22.452930 584610 langruntime_plugin.go:187] langhost[nodejs].GetRequiredPlugins(root=/home/ubuntu/code/git.kalinow.ski/nimbus/infra, program=/home/ubuntu/code/git.kalinow.ski/nimbus/infra, entryPoint=.) success: #versions=4
I0806 06:06:22.452990 584610 plugins.go:137] gatherPluginsFromProgram(): plugin nodejs <nil> () is required by language host
It seems the GetRequiredPlugins is taking 23 seconds and then it does more plugin work. This is quite painful as it slows the dev feedback loop a lot and it really should take no time at all (plugins already are installed). I wonder if this is Pulumi not understanding pnpm but it should from my understanding of the closed issuesfuture-hairdresser-70637
08/06/2024, 2:45 PMrhythmic-hair-33677
08/06/2024, 3:12 PM