adamant-finland-93186
06/02/2025, 1:13 PMpulumi up
without any changes. Is this expected behavior?
I would expect Pulumi to only make a snapshot if something changes, is that not the case?
We have found the skip-checkpoints flag, but would like to better understand the underlying issue (if any) before we enable it.
Our large >3000 resource stacks are currently taking a very long time (>40min) to up
even if there are little or no changes and are looking to speed it up.echoing-dinner-19531
06/02/2025, 1:29 PM--logtostderr -v9
you might see some "SnapshotManager: mustWrite() true because" lines which will tell you why they system still thought it had to do a write even though the inputs hadn't changed enough to trigger a provider update.
Give that a try, we can see if that's whats causing the writes.adamant-finland-93186
06/02/2025, 1:30 PMechoing-dinner-19531
06/02/2025, 1:32 PMadamant-finland-93186
06/02/2025, 3:55 PMpulumi up
on a test stack I'm seeing:
mustWrite() false
on all resources when parsing the logs.
When doing pulumi up --refresh
I see:
Resources:
39 unchanged
in stdout
And a lot of:
SnapshotManager: mustWrite() true because of Inputs
The logs are a bit hard to parse. I have added -p 1
in the hopes log lines wouldn't interleave, but I'm still having trouble seeing where operations start and end.
Any pointers on how to further debug, and/or what to look at are much appreciated : )
I am looking at the .Diff()
lines and am seeing that the .oldInputs
have 2 entries with __defaults={[]}
and the .newInputs
have 3. Not sure if that could have anything to do with the issue.echoing-dinner-19531
06/02/2025, 3:57 PMechoing-dinner-19531
06/02/2025, 3:57 PMechoing-dinner-19531
06/02/2025, 3:57 PMechoing-dinner-19531
06/02/2025, 3:58 PMadamant-finland-93186
06/03/2025, 12:58 PMadamant-finland-93186
06/03/2025, 1:00 PM__defaults={[]}
entries is indeed the culprit?echoing-dinner-19531
06/03/2025, 1:16 PMadamant-finland-93186
06/03/2025, 2:12 PM