This bug indicates cloud code takes some time to deploy after saving.
However, there's no UI indication about when this deployment has finished. Also, you can't tell which version you're running unless you debug it and inspect it visually. There needs to be some indication, otherwise I'm manually checking every iteration loop, which is error-prone and annoying.
This has been added to the bug report backlog.