Is it possible that doing `pulumi up --skip-previe...
# general
f
Is it possible that doing
pulumi up --skip-preview
can completely bork the entire state if the up manages to fail?
We had: • Merrily working CI • Added skip preview since the CI does preview anyway • CI skipped doing preview since it didnt detect any changes • Up failed • Now it assert panics on everything (preview/up/refresh) and somehow 37 resources are missing the
id
field
Ah actually that maybe makes sense for most of them, if they're awsx
w
Definitely not expected that any form of
up
would lead to asserts. I suspect this issue is unrelated to the change to add
skip-preview
. Could you open an issue with details of the panic?
f
https://github.com/pulumi/pulumi/issues/3626 Let me know if theres any other details I can add
w
Thanks - this looks like enough to investigate. That particular outcome is very surprising indeed. We’ll look into it.
f
Also, I accidentally reproduced it by running the same CI again. Happened again.
w
Good to know it’s a reliable repro I suppose - if you could note that in the issue that might help diagnosing. Sorry for the trouble - but sounds like you have a mitigation for this (though cumbersome)?
f
No worries. Mostly just a pain to track down the cause. Added the issue to say that removing the
--skip-preview
did get things working again (after applying the mitigation).