salekin.dev
ls ..engineering notes
Strategy · 10 min read

Release Readiness for IoT: Shipping a Maritime Safety Product

Three production releases, zero rollbacks — what release readiness actually required on a smart-boat app with automatic Man Over Board alerting.

Why release readiness is not a checklist

On a typical application, a release goes out, something breaks, and you roll back. On the product I worked on in Norway, the failure mode was not a broken screen. The app monitors temperature, humidity, water leaks and GPS on a boat, and on a Man Over Board event it cuts the engine and raises a distress alert.

A false negative there is not a UI bug. It is a safety event on a vessel. That changes what "ready" means, and it changes who gets to say it.

Defining the sign-off criteria before the sprint

The single highest-leverage thing I did was refuse to run a release cycle without written sign-off criteria agreed with the client before the sprint started. Not after. If the criteria are negotiated under release pressure, they will be negotiated down.

My criteria had four layers: functional correctness of the safety-critical paths, telemetry integrity end to end, non-functional behaviour under load, and an operational readiness check on alerting and escalation.

  • Functional — the MOB path and geofencing exercised explicitly, not as incidental coverage
  • Integrity — telemetry confirmed ingested, not merely sent
  • Non-functional — behaviour under realistic marine connectivity
  • Operational — escalation and alerting verified with the client

Telemetry is not a delivery guarantee

This was the bug class that surprised me most. A device sends a telemetry message, the broker accepts it, the pipeline reports success — and the data never reaches the application, because a subscription filter silently excluded it.

The fix was to assert on the far side of the pipeline, not the near side. The test waits for the application state to change, not for the publish call to return 200. That single change moved several "green" releases to genuinely covered.

typescripttests/mob-alert.spec.ts
import { test, expect } from '../fixtures/tenant';

// Assert on the FAR side of the pipeline. A successful publish does not
// prove the data arrived — only the application state proves that.
test('raises a distress alert and cuts the engine on MOB', async ({ page, request }) => {
  await page.goto('/fleet/vessel-77');
  await page.getByTestId('simulate-mob').click();

  // 1. The application received and rendered the alert.
  await expect(
    page.getByRole('alert').filter({ hasText: 'Man Over Board' }),
  ).toBeVisible();

  // 2. The engine was actually cut — not merely "requested".
  await expect(page.getByTestId('engine-state')).toHaveText('CUT OFF');

  // 3. The alert was persisted server-side, so it survives a reconnect.
  const alerts = await request.get('/api/vessels/vessel-77/alerts');
  expect(await alerts.json()).toEqual(
    expect.arrayContaining([expect.objectContaining({ type: 'MOB', ack: false })]),
  );
});

UAT is a coordination problem

UAT consumes the client's scarcest resource: their subject-matter experts. When their time is scheduled badly, the sign-off slips, the release slips, and everyone starts negotiating about scope instead of quality.

I scheduled UAT slots against a published criteria document, sent the evidence pack in advance so the review was about judgement rather than discovery, and set a hard cut-off for new cases — anything not in the criteria became a documented follow-up, not a release blocker.

  • Publish criteria before the sprint so scope is not renegotiated under pressure
  • Send the evidence pack in advance — review time goes to judgement, not discovery
  • Hard cut-off for new cases; late findings become tracked follow-ups
  • Book client SME time as a scheduled, named commitment

Three releases, zero rollbacks

The outcome was three production releases for the client with no rollbacks, and a sign-off process the client could point at in their own release governance.

The transferable lesson is not "release carefully". It is that readiness has to be argued in advance, with evidence, against criteria that everyone signed. The moment criteria exist in writing, a release conversation stops being about nerve and starts being about evidence.

Key Takeaways

  • Agree release sign-off criteria before the sprint starts — never negotiate them under release pressure.
  • For safety-critical paths, assert on the far side of the pipeline; a successful send is not an arrival.
  • UAT fails on scheduling, not on testing. Book the client SME time and send evidence in advance.
  • Set a hard cut-off for late cases so they become tracked follow-ups instead of release blockers.
  • Written criteria turn a release decision from a judgement call into an evidence review.
Next articlePlaywright Summary Reporter: Simplifying Playwright CI/CD Failure Analysis