I wanted to take this week’s post to give an update on our Grails upgrade efforts to give full transparency into our process. Two weeks ago we announced a big change coming to our platform with upgrades coming to our Grails version. We are still planning on upgrading to Grails 2.5.4, but we deployed 2 test releases to some of our production servers and noticed some problems right away. We rolled back those changes immediately and are evaluating what caused the unexpected behavior that differed from our staging environment.
One thing we have to remember when we make big changes like this is, development and staging environments are not production. While we do our best to keep the staging and development environments in sync there will inevitably be differences between production and our testing environments. The biggest of which is the traffic and number of people using the environments. This is why pushing to a few preliminary servers was so important. I am happy to see that our testing paradigm worked and we were able to catch the problem before we pushed the update to all of our production environments.
We are committed to making sure this change will have broad compatibility and will only re-launch this upgrade once we are positive we have the broadest compatibility we can offer.
All that being said, we do recognize there have been some problems with scheduled apps timing out. I want to assure you this isn’t a problem with the scheduler itself. Every case we see with this type of behavior, the scheduler has worked as intended and sent the task to the SmartApp to run. We took a look at all the cases and believe we found a root cause for a lot of these instances. On Wednesday we pushed an update to the platform that we believe will go a long way to resolving the SmartApp timeouts.
I also want to let you know about a new feature we added to the platform. On Thursday we released a small update to the platform and we added a new feature for SmartApps that utilize OAuth. This feature will add a layer of security to your Web Service SmartApps (they are all OAuth) by supporting redirect URI validation when making the OAuth authorization code request. Documentation on this new feature can be found here.
We are continuing to strive to make this platform the greatest Smart Home platform on the planet. I hope everyone has a great weekend and I’ll see you all again next week!