Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Railway 4 min read Incident easyNovice

Incident Report: Dec 13th, 2023

An upgrade of Railway's dashboard GKE cluster to v1.25 pulled in a metadata server version with a known high-load bug, slowing the encrypt/decrypt calls used for service environment variables. A user migration email sent at 20:57 UTC drove a load spike, and from 21:45 to 23:24 UTC new deployments shipped with stale variables and users could not update variables, while existing workloads kept running. Railway mitigated by switching to a statically assigned encryption key, temporarily disabling logging, and upgrading to a GKE version without the bug. Follow-ups include centralized incident coordination, slower migration messaging and accelerating the move off GKE to its in-house orchestrator.

Related posts

  • Incident Report: May 19, 2026- GCP Account Suspension

    Railway mediumAdept

    An automated Google Cloud account suspension took Railway's GCP-hosted control plane, API, dashboard and databases offline for about 8 hours. Once edge proxies' cached routing tables expired, the outage cascaded to workloads on Railway Metal and AWS, because route discovery depended on a network control plane API hosted in GCP. Restoring account access did not restore the platform: persistent disks, compute and networking each needed separate recovery. Afterward, queued deploys had to be drained gradually and GitHub rate-limited OAuth and webhook traffic from retries against cold caches. Planned fixes include removing the single-cloud discovery dependency so the network becomes a true mesh, spreading HA database shards across AWS and Metal for quorum survival, and moving GCP out of the data plane hot path.

  • Incident Report: Dec 1st, 2023

    Railway mediumAdept

    A misconfigured new metrics collection agent sampled every process on each host at high frequency, driving heavy kernel-to-userspace memory transfers. Those transfers triggered cascading CPU soft locks on 30% of Railway's US-West fleet even though resource usage stayed within thresholds, and the team suspects an acknowledged Google Cloud hypervisor bug. Hosts failed randomly and in bursts, so the agent was not suspected at first. Recovery needed manual restarts confirmed via serial console logs, taking 10–30 minutes per host, and workloads were down for 10 minutes to 1 hour with no data loss. Follow-ups include mandatory staged rollouts (10/25/50/100%) for all services, faster deployment feedback, and moving toward bare metal to gain visibility into the full stack.

  • Incident Report: August 27th, 2024

    Railway mediumAdept

    A routine Terraform pull request adding instances of Railway's new edge proxy caused all live proxy machines to be recreated at once, timing out roughly 30% of traffic (HTTP and public TCP) for about 30 minutes, with full recovery after about 60. The root cause was a stale config. An engineer had resized boot disks in the GCP console to work around a Google Terraform Provider issue, but the matching PR was still unmerged, so the IaC vendor applied the old disk sizes and forced replacement. Two safeguards failed: the vendor's PR comment showed "0 to destroy" while the actual plan destroyed 17 resources, and deletion protection was missing on the new proxy because it was dropped during promotion from staging. Fixes include deletion protection by default in production Terraform policies, removing destroy permissions from the Terraform coordinator boxes in favor of privileged escalation, extra alerting, and pre-baked machine images so proxies don't need just-in-time bootstrapping.

  • Incident Report: April 30th, 2025

    Railway mediumAdept

    Railway's API backend, which serves the dashboard, CLI, Public GraphQL API and GitHub deploy webhooks, went down for roughly four hours after a batch of Kubernetes configuration changes meant to cut dashboard latency. The changes included a modified healthcheck that no longer checked Postgres liveness, so unhealthy pods kept taking traffic and overloaded the database. The root cause was pgbouncer pods that reported healthy but could not serve traffic because the service mesh failed to inject routing information, breaking DNS resolution. Recovery was slowed by selective rollbacks and needed a full pod cycle even after a complete revert, so Railway now staggers config rollouts with rollback plans, reverts fully at the first sign of trouble, and has removed the service mesh from critical paths in favour of simple load balancers.

  • Incident Report: November 25th, 2025

    Railway mediumAdept

    Slow GitHub API calls (about 4x normal p95 latency) during peak hours backed up Railway's Temporal-based task queue, causing workers to run out of memory and crash in a cascading thundering-herd pattern as surviving and newly started workers were overwhelmed by the backlog. Deployments for Free, Trial and Hobby tiers were paused and Pro deploys delayed for roughly two and a half hours, while running services stayed online. Recovery came from increasing worker CPU and memory and fixing worker parameters that made them request more tasks than they could handle. Follow-up measures include an auto-tuning algorithm for worker task intake, more task queue capacity, and removing external API dependencies from critical workflows.

The quest for software engineering knowledge.

Look:
Layout: