{
  "id": 21622110,
  "title": "A Reboot Is Still a Deployment",
  "url": "https://urgent.news/2026/11/24/a-reboot-is-still-a-deployment",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-24T15:52:06.000Z",
  "source": {
    "name": "Stack Overflow Blog",
    "slug": "stack-overflow-blog",
    "url": "https://stackoverflow.blog/2026/11/24/a-reboot-is-still-a-deployment/"
  },
  "original_language": "en",
  "account": "Most teams consider a deployment complete when the new version performs real work, such as processing a job or serving a request, and generates the expected result. A host reboot, however, rarely qualifies as a deployment. It doesn't change the application code, so the restart is listed on the maintenance calendar as routine housekeeping. The post-restart check is whether the service comes back online. This bar seems too low. To prove that an unchanged service recovered after its host rebooted, I propose a completed job: one piece of work the service exists to do, finished on the returning host, using the correct data and recorded for verification. The service operates on more than just its code. A recent Heap article by Guilherme Appel demonstrated how a .NET parallel loop can become serial in a one-CPU container. Reducing the container's CPU limit from two to one transformed 200 records processing time from 42.1 seconds to 83.6 seconds, with no code modifications. A reboot can affect more than just resource allocation. It can introduce a different kernel, remount volumes, and restart dependent services in an order not tested during the last deployment. Canonical has revised its Ubuntu host kernel update schedule. Effective September 23, they shifted from four-week regular and two-week security update cycles to overlapping two-week cycles, with a new kernel release every week. Each cycle includes a two-week period for hardware certification and regression testing. Organizations may opt to use release candidates after the first week for acceptance testing. This offers a sensible approach to kernel updates. However, the acceptance test for the application running on the rebooted host deserves closer scrutiny. Livepatch, a feature that patches critical and high-severity kernel vulnerabilities while the system runs, mitigates some kernel restarts but doesn't eliminate them. Canonical patches kernels for 9 to 13 months following their release, depending on the kernel. After this period, organizations must update and restart. Thus, restarts persist on a different schedule. Consider a team running a queue-backed export service on two Linux hosts, each hosting one worker. A worker retrieves an export request from the shared queue, writes the finished file to a volume mounted on its host, and marks the job as complete. In this scenario, a job is deemed finished only when both actions are completed. During a planned maintenance window, the host running worker A undergoes a kernel update and reboot while worker B remains operational on the other host. The service code remains unchanged. To examine what an operator would observe during this window, I created a small rehearsal on a single machine. It simulates two worker processes in Python, A and B, sharing a SQLite database acting as the queue. The queue contains two jobs, J-001 and J-002, and each worker process carries a tag indicating its run sequence. Worker A begins tagged \"before.\" The rehearsal illustrates how the queue records change after a restart. Worker A claims job J-001 first. Subsequently, I drained A, which in this context means it stops claiming new jobs. When I requested J-002 from A, it responded with \"claims disabled.\" As J-001 remained assigned to A, before stopping the process, A returned the job, and the database showed J-001 as queued with no owner. This requeue is a deliberate decision, and I would expect it to be documented in the contingency plan before stopping a worker. My test harness explicitly returns the job to A. A real queue might allow the worker to finish the current job, checkpoint partway, or wait for a lease to expire before reassigning the job. Each of these options would alter the timing of when J-001 is processed next and whether it starts anew. While A was offline, I requested J-002 from worker B, who successfully claimed and processed it. In this scenario, offering B the returned J-001 would also be necessary, as a real queue would likely handle it differently. The second worker maintained queue flow, demonstrating this principle. The overall outcome of the rehearsal is that three records may conflict after a restart: the process reporting it's up, the gate indicating a missing dependency, and no job having finished. The rehearsal focuses on verifying a specific behavior under controlled conditions.",
  "summary": null,
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}