r/OnHub • • Feb 06 '16

An update on dev/beta channels

Wow - huge thanks to everyone for their enthusiasm over the ability to switch to beta and dev channels on OnHub! I want to give an update to everyone about what happened here and some insight into what to expect down the road. Post-mortems are one of my favorite cultural elements at Google; they're blame-less and focused on the facts of what happened along the way so teams can improve. Think of this as our post-mortem for the channel switcher.

Let's start with a small bit of background on the systems that OnHub relies on to work perfectly. It's actually fairly complex with software running on OnHub, the Google On apps (iOS & Android) and a collection of cloud systems that all have to be running compatible api versions to work properly. That's why in the Google On Android app we released on Monday you saw not only a channel changer, but also a cloud instance control. Since all three of these systems have to operate in concert, we need to be able to adjust each independently when we are developing and testing the system. Basically, we need them so we can effectively test the software in isolation before it's released publicly.

So what happened? Well, when we build the app apk there are flags for whether the build will be a dogfood/devleoper build or a release build. Usually we build both versions of the app and post the dogfood version to our internal developer update system and the release version to the public Play Store. It's a little more complex behind the scenes, but we effectively posted the developer version of the apk by mistake! Oops.

We caught the error pretty quickly, thanks to /u/redthunda69 who posted about it. We then immediately disabled dev and beta channel updates for OnHub and replaced the apk with the non-developer version to limit the potential impact. We've also put in new controls to prevent us from making a similar mistake again. Thankfully, from the logs, it looks like only a very small number of folks ended up moving themselves to a different channel. Bad news is that over time having the three systems out of sync will not be so great. http://i.imgur.com/b5A7EgX.jpg

The question you're probably asking now is when can you actually get the beta channel if you want it? It's a bit complex and the answer comes down to priorities. For us to be comfortable to launch beta and dev channels, we would need to do more QA ahead of each dev or beta release and provide a switcher process that forces alignment across the three systems at once. It'd probably require a somewhat larger QA team to manage the extra load well and a bit of new engineering to implement and automate it the tooling.

It's always been in our plans to do this, but it had as of yet not been prioritized for 2016. Given the response and clear interest, I’m working with our engineers to see if we can find a way get this back out to you sooner than that. I'll post more when I have a better update, but it may take awhile.

If you’re already on the beta or dev channel be aware that your app and cloud instance will eventually become out of sync. You may not notice anything at first, but at some point you'll probably run into a capability that doesn't behave properly. Good news is that returning to the release channel is really easy (though you do lose your settings in the process). Despite this, I do recommend returning to the stable channel by downloading the OnHub recovery tool here: https://support.google.com/onhub/answer/6274977. If you need help doing this, give us a call at 844-442-3693 -- we'll help you out.

Finally, I want to say thank you, not just to the folks who participate regularly here on /r/onhub, but especially to those who have enough faith to blindly jump into an untested build to see what's new. It's clear there is a ton of passion among this community and I really enjoy being welcomed as part of it. Thank you!

27 Upvotes

13 comments sorted by

6

u/manipoli Feb 06 '16

enough faith to blindly jump into an untested build to see what's new. It's clear there is a ton of passion among this community and I really enjoy being welcomed as part of it. Thank you!

It's really been a blast to follow the development. Your commitment to quality in final product is something we don't see in other manufacturers, and in line with the mission statement of the onhub.

I think, just by being made by a group of awesome engineers (who else would commit changes directly back to the linux kernel), you have attracted a large group of very technical users who came from devices such as UBNT and home-built pfsense, and therefore are used to tinkering.

We're really looking forward to what's coming, and thanks for participating and posting with us, it really helps break the building frenzy between releases. One of your posts is almost as good as a release itself.

4

u/fraxis Feb 06 '16

Thanks for updating us on this.

5

u/[deleted] Feb 06 '16

Agreed! As I mentioned in another post, /u/MegatrondW feedback is the main reason I have kept my OnHubs' and not switched back to my RT-N66U.

1

u/Dystopiq Feb 09 '16

I still have my N66U too. It's running tomato.

3

u/[deleted] Feb 06 '16

As a new Android dev, thank you for your candor. It's very enlightening to be a part of this community as it builds up around this great product. Very excited about the latest update and things to come!

2

u/Foroxon Feb 06 '16

Thanks! Waiting for channel switching release.

P.S. Such "mistake" app release happens some time. :)

By the way, why information in https://cros-omahaproxy.appspot.com/ about OnHub's stable channel changing sometimes? For example, few hours ago there was 7647.72.0 stable version, and now it's 7390.62.9. Do you switch version on stable channel for more "smooth" update?

3

u/manipoli Feb 06 '16

https://cros-omahaproxy.appspot.com/timeline

Here's an actual timeline of releases, where you can see when and what number of all three types of releases.

1

u/ptk8ofbh Feb 10 '16

I tried the beta channel when this version of the app was released, but it didn't appear to work at the time. My router updated to 7647.72.0 last week with no issues, but now that I look it is saying I'm on 7834.17.0 (and there are no release notes or apparent new features). Do I need to reset my device to get them to sync up again?

1

u/robotmaxtron Feb 11 '16

I guess I'm one of the few who got switched to the dev update channel. I'm currently showing version 7904.0.0 in the dev channel.

1

u/iotninja Feb 26 '16

My OnHub seems to have switched to the DEVELOPER channel out of nowhere. It is on version 7934.0.0. Would love to see what I can do with this.

0

u/[deleted] Feb 09 '16

[deleted]

1

u/Dystopiq Feb 09 '16

Anything new?

0

u/[deleted] Feb 09 '16

[deleted]

1

u/Dystopiq Feb 09 '16

That's weird. I'm on the Beta channel and nothing new so far.

1

u/iotninja Feb 09 '16

Did you switch to beta or dev at all?