Blog · A home network run like a small office

Three checks before anything goes live

Tests, screenshots at every size, and live checks. From 24 tests to almost 400.

In this series · Chapter 6, The control centerShow all 49 partsHide the list

1. Where it started

  1. 01Why I'm running my home like a small office
  2. 02What a read-only audit of my network found
  3. 03The first changes, and the ones I said no to
  4. 04Reuse first, build only what's missing
  5. 05Fifteen decisions before the first line of code

2. Remote access and keys

  1. 06One way in from outside
  2. 07An address that keeps itself up to date
  3. 08Where the passwords live
  4. 09Keys that can do one thing

3. Monitoring

  1. 10Is it my network or the internet provider?
  2. 11A watcher outside the house, and backups I've restored
  3. 12The drill that found the bug
  4. 13Alerts that only reach my phone when something needs me
  5. 14I had the monitor audit itself
  6. 15Teaching the hub to stop crying wolf

4. The network redesign

  1. 16"Don't take down my internet": the routine before every change
  2. 17The firewall upgrade, two days late
  3. 18Keeping the plan when the builder wanted to drop it
  4. 19Two Wi-Fi drops, and knowing when to stop
  5. 20The router at 90 percent
  6. 21Moving 40 gadgets without touching each one

5. The media server

  1. 22Bringing the media server back, and keeping it up
  2. 23The movie that stuttered on one TV

6. The control center

  1. 24An overnight prototype, and bars instead of dials
  2. 25A nice hub, tucked away in a drawer
  3. 26Instructions for a phone I don't own
  4. 27Three checks before anything goes live
  5. 28Buttons with a seatbelt
  6. 29Rewind: replaying a Wi-Fi outage
  7. 30"I just want a more sensible layout"

7. Security

  1. 31A security scoreboard that started at a D
  2. 32Who's knocking: a security tab in two evenings
  3. 33Matching every program to the public flaw lists
  4. 34A DNS log for the house
  5. 35A weekly scan that can't annoy anyone
  6. 36The week of the scary flaw list

8. A private AI assistant

  1. 37A private AI for the house that can't touch anything

9. How the work got done

  1. 38Keeping a non-developer in charge
  2. 39A house manual that rebuilds itself every night
  3. 40My AI assistant keeps blocking itself, and I'm glad
  4. 41What it cost, what's next, and what I'd bring to an office

10. After the rebuild

  1. 42The backup that filled its own disk
  2. 43Two messages, one second, wrong order
  3. 44My help tool said "fine" at 7 megabits

11. Groceries

  1. 45Reading our grocery orders until the store locked us out
  2. 46I was testing a cart button when I found out nobody wanted one
  3. 47My first grocery rule would have nearly doubled what we buy
  4. 48The third store was the cheapest on nothing
  5. 49The house AI's only grocery job is picking a picture

The control center went from nothing to dozens of releases in about two weeks. That pace only works if every release is checked the same way, every time. Ours passes three gates.

TestsSizesLive

Gate 1: automated tests

Every release runs a suite of automated tests that check the logic: does this incident get the right verdict, does this rule fire when it should and stay quiet when it shouldn't. The real hub's suite started with 24 tests. By October 14 it had 218. By October 24 it had 396. Every bug found along the way got a test, so it can't come back quietly.

Gate 2: every page, every size

Next, the release runs on a preview copy, and every page is checked at phone and computer sizes, in light and dark. The check looks for errors, overflowing text, and anything that doesn't fit. It started at 32 page views and grew to 73.

Gate 2 needs a fresh "go ahead" from me each time. That's deliberate. It's my moment to say the release is ready to be judged.

Gate 3: live checks

After a release goes live, a third set of checks runs against the real thing: sign-in is required where it should be, nothing has failed in the last day, no alerts are stuck, and the change log is intact. The change log is chained, so if anyone edited an old entry, the chain would break and the check would fail.

Going live is a ritual

Going live only happens when I say "go live" with the version number, at a time that suits the house. Then the same steps run every time:

  1. Confirm nobody is watching anything on the media server, since they share a PC.
  2. Confirm the copy going live matches the copy that was tested, byte for byte.
  3. Take a snapshot of the virtual machine and back up the database, with an integrity check.
  4. Switch to the new version and wait for it to report healthy, usually in about 33 to 38 seconds.
  5. Run gate 3.

Old backups are trimmed to the 10 newest each time.

A judgment call

Gates don't replace judgment. On October 22, gate 2 passed 72 of 73 views. The one miss was a table on the phone view, 10 pixels too wide when a device had a long name. This release hadn't touched that table, and the live version already had the same problem. Holding back real fixes for an old cosmetic issue made no sense. The release went out, and the table went on the next one.

Parallel work

Early on, I told the assistant to feel free to run sessions in parallel. Several pieces were built side by side and merged. The gates are what made that safe. Work from different sessions had to pass the same checks before anything went live.

If someone's building for you

Ask what has to pass before anything goes live, and who says go. If the answer is "we test it," ask what exactly gets tested, and whether the version going live is the version that was tested.

Have something in mind?

Tell me what you're trying to do. I reply within two business days.

Get in touch