Chart RS-26 · FN-03 2026-11-18 · 3 min read
Chart lighting

Field note FN-03

Running production alone

One server, one phone, no team. What I automated first for SkyJourney, and what the incidents taught me.

Project · SkyJourney →

SkyJourney has one developer, who is also its on-call rota, support desk and release manager. It runs on one Laravel server, with two Cloudflare Workers and a GPU box that renders flight replay videos around it.

Running that alone, the question isn’t “what would a proper team do?” It’s “what will wake me up only when it should, and what can I fix from my phone?” This note is what I built, in the order I built it, and what I found missing while writing it up.

The first automation was a notification

The very first thing I automated, in March 2025, was a Telegram message when someone signed up. That isn’t monitoring, but it’s not nothing either. For a small app, “a person just signed up” and “a person just paid” are the events you most want to know happened, and they also prove that the app works end to end. Today about 30 business events go to the same chat, from signups and cancellations to failed replay renders.

Nightly backups came a few days later, and a queue dashboard in July 2025. One server and a dashboard of queues was enough for a long time.

Errors, deduplicated for a phone screen

The first real alert came in March 2026. Any uncaught server error, and any failed job, sends a message. A burst of the same error must not become 200 notifications, so each error gets a fingerprint and is sent at most once in a short window.

If the cache that tracks those fingerprints is down, I still want the alert, even if that means getting it twice. A test trigger sends a fake critical error, so I can check the whole path, from exception to phone, after changing anything in it.

Metrics, logs, and a dead-man switch

In August and September 2026 the rest arrived: logs, metrics and a self-hosted Grafana with alerts. Before this I had a home-made table of request timings, which grew with traffic on the same database it was meant to watch. Moving it out was the better trade, as long as an unreachable metrics backend costs seconds, not a request.

The thresholds come from a week of real traffic, not from guesses, and the latency alert needs a minimum number of requests so a quiet night doesn’t fire on one slow request.

The rule I’d recommend to anyone in the same position is the dead-man switch. The scheduler emits metrics every minute, and if they stop arriving, that’s critical. Most alerts fire when something bad happens, but this one fires when nothing happens, which is how a dead scheduler, a full disk or a broken network actually shows up.

Incidents you only find in the comments

My commit messages are no help as history. Too many of them just say “fix”. The lessons are in code comments, written at the moment of the fix. Two of them come up again and again.

Cached objects outlive deploys. Add a field to a cached class, deploy, and reading an old cached copy is not a cache miss. It’s a fatal error, because restoring a stored object skips the code that would set up the new field. The fix is a version in every such cache key.

Queued jobs outlive deploys too. A job queued before a deploy and run after it has the same problem. When I caught myself making the same mistake a third time, I turned the lesson into a lint rule, so the automatic refactoring tool no longer rewrites jobs into the form that breaks.

When you work alone, a comment or a lint rule is the closest thing you have to a postmortem someone else will read. Usually that someone is me, six months later.

Housekeeping and support

Scheduled tasks handle the housekeeping a team would assign to someone. Support is a help centre and an email address. Most questions are answered by an article, and the rest by me, with many one-off backfills written after a data fix, because fixing the code doesn’t fix the rows it already wrote.

The queue layout carries a support decision too. Forwarded booking emails share a queue with bulk imports, and they go first. One person forwarding one email expects it within a minute. Someone importing ten years of history doesn’t.

Request
clearance