PROJECT 14 / AUTOMATION / 2026

Attended Infrastructure Maintenance.

Preview, checkpoint and recover a host maintenance window.

Architecture sketch / Personal infrastructure maintenance; completed manual activation and separately verified automation preview.
01 / THE PROBLEM

Problem.

Several containers shared an older host kernel, so updating an application or guest package would not activate the fix. Rebooting the hypervisor also meant interrupting storage consumers, databases and services. I needed to preserve the previous running state and check storage before allowing application writers to return.

02 / THE APPROACH

Implementation.

  1. 01

    Captured running guests and application state, quiesced writers and dependencies, and shut down guests before the attended host reboot. Verified storage identities and health before restoring only the workloads that had previously been running.

  2. 02

    Turned the procedure into an exact-version preview and checkpointed maintenance engine. Approval binds to source, profile and observed state, expires and is consumed durably. Interrupted mutation is not replayed automatically; recovery inspects the recorded phase.

  3. 03

    Ordered package download before the service outage, then required every guest to be stopped before cache-only installation. This avoids depending on a DNS service that is intentionally offline during maintenance.

  4. 04

    Added a GitHub Actions interface for inspect, preview, apply and recovery. An outbound local bridge validates the approved source and request identity, claims work once and calls the same maintenance engine. Host credentials stay local; scheduled requests only inspect.

  5. 05

    Published separate monitoring evidence for the GitHub request and the actual host phases so a successful request cannot stand in for successful maintenance.

Reviewed request
bound preview + local checkpoints
storage checks + selective restoration
03 / THE RESULT

Result.

The manual kernel activation, reboot, storage checks and selective workload restoration completed. The subsequent automation passed CI and real end-to-end inspect/preview requests. The full automated package-install, shutdown, reboot and recovery lifecycle has not yet been exercised on hardware.

VERIFICATION

Recorded manual activation and service/storage checks; 29 host/bridge tests at the documented final release; successful exact-source CI and owner-dispatched inspect/preview. No automated mutating outage, end-to-end playback test, full backup restore or downtime guarantee is claimed.

04 / THE TAKEAWAY

What I learned.

Maintenance order is part of the dependency model. Downloading after shutting down DNS creates a failure that a package test alone will miss. Preserving a guest's stopped state matters as much as bringing running services back. A successful preview also remains a preview, especially when readiness gates block a maintenance window.

Questions about this project?

Email Binh ↗
NEXT PROJECT

Operations Monitoring