`garden update-remote all` on 0.12 compatibility takes very long
11/01/2023, 3:49 AM
Executed in 687.61 secs fish external
usr time 21.10 secs 0.15 millis 21.10 secs
sys time 10.93 secs 1.09 millis 10.93 secs
Admittedly we have about 16 subdirectories and maybe 30 services plus a bunch of tasks and a couple of workflows, but running the above command takes almost 12 minutes, even on repeated runs.
I'm doing this using Garden
with the 0.12 compatibility mode (we have so many changes to make, so I'm trying to stage this as much as possible).
I notice that it is running some update commands for all of the actions of each service - e.g. build, deploy, run, and then the actual remote modules themselves. This multiplies the number of updates it needs to perform by 4x, and I'm not sure that's necessary - the source is only used by the build after all.
Is this just a compatibility mode thing, or a generally 0.13 thing?
Yes, I did see that thread but we have far fewer modules. It also doesn't seem to be stuck in the graph building section, but is very much relating to excessive/duplicate pulls of SSH remote state. I'll file a bug report. Cheers 🙂
11/01/2023, 10:54 AM
I wish I could be of more help, I do! If you file a report and ping me here I promise to surface this to our devs ASAP