1. A computer-implemented method, comprising: receiving from a client device a first cloud code module at a cloud platform device; associating the first cloud code module with at least one function call and one or more timeout values, wherein the function call is directed to one or more services provided by the cloud platform device; monitoring an execution of the first cloud code module associated with the function call in a sandbox and cancelling the execution of the first cloud code module when upon expiration of at least one of the timeout values; receiving a second cloud code module for validation; estimating that a probability of the second cloud code module will time out before completion is greater than a threshold probability, the probability determined based on a similarity between the first cloud code module and the second cloud code module without executing the second cloud code module in the sandbox; and repairing or rejecting the second cloud code module by the cloud platform device when the probability that the second cloud code module will time out is greater than the threshold probability.