This message was deleted.
s
This message was deleted.
b
Looks like nobody is aware of a way to achieve that, so I created a discussion under "Ideas" suggesting that it gets implemented
I have also posted this as a question in StackOverlow. So far, no reactions on any of the channels. https://stackoverflow.com/questions/74121832/how-can-i-hot-reload-my-code-using-pulumi
b
What are the performance issues you’re seeing when you run Pulumi up? What are you using as a back end for the state?
c
@brief-alligator-51254 I gave me two cents for a solution in the discussion thread: https://github.com/pulumi/pulumi/discussions/11065#discussioncomment-3937307
❤️ 1
b
What are the performance issues you’re seeing when you run Pulumi up?
I would say that
pulumi up
is just not designed to perform such action. The
Previewing update
phase takes 39s and the actual
Updating
phase takes 47s. The performance is comparable to running
pulumi up
in a clean state, so no hot reload by definition.
What are you using as a back end for the state?
Local Filesystem
I gave me two cents for a solution in the discussion thread
Thanks @colossal-diamond-64391!
b
So couple of things would help us here: 1. Can you run
pulumi up --logtostderr --logflow -v=9 2> logs.txt
2. Can you run (you might want to destroy the stack before you run it):
pulumi up --tracing=file:./up.trace
And then send over the
logs.txt
and the
up.trace
file that you produced to me: piers@pulumi.com Just as an aside, Pulumi does write a lot of checkpoints and if you’re using the local file system as your backend, especially on your local computer, you might find it’s not as performant as using the Pulumi service.
217 Views