Skip to content

Understanding Service States

FlowLayer reports service state through snapshot and runtime events.

  • starting
  • running
  • ready
  • stopping
  • failed
  • stopped
  • unknown
  • starting: process launch is in progress
  • running: process exists, readiness may still be pending
  • ready: readiness gate passed (or no gate required)
  • failed: start or runtime failure was observed
  • stopping / stopped: shutdown path in progress or completed
  • unknown: no runtime state recorded yet

running is not always equivalent to “safe for dependencies”.

When readiness is configured, dependents should rely on ready, not just process existence.

  • spot startup bottlenecks before they cascade
  • distinguish bad readiness checks from hard process crashes
  • align team discussion on observable states instead of assumptions

Reference: Services and Readiness.