For the complete documentation index, see llms.txt.

Documentation

Repository docs

This route renders the repository README and markdown under docs/ .

Source: docs/RUNTIME_HEALTH.md

Rendered document

docs/RUNTIME_HEALTH.md

Parsed server-side (markdown to HTML in the app). Same bytes you get from the checkout.

Runtime Health

After a successful deploy, Smart Deploy tracks runtime health — whether your app stays reachable and ECS/ALB signals look normal.

Where to see it

  • Overview tab — status badge and health sparkline
  • Deployment Agent — "Is my service healthy right now?" uses get_runtime_health

Health states

StatusMeaning
healthyApp probe succeeded; ECS/ALB signals nominal
degradedPartial failure — for example app up but ALB targets unhealthy
unreachableHTTP probe failed or ECS desired ≠ running
unknownNot enough recent samples or deployment not running

Statuses use anti-flap logic — brief blips do not immediately flip running to unreachable.

What gets probed

Each reconciliation cycle (~10 minutes) collects:

SignalSource
App HTTPGET to deployment URL (same paths as verify)
ECSDesired vs running task count, rollout state
ALBHealthy vs unhealthy target count

Samples are stored in runtime health history and exposed via API for charts and the Deployment Agent.

Deploy status vs runtime health

FieldWhen set
Deployment status: runningLast deploy succeeded
Runtime degraded / unreachableOngoing probes failing after deploy

A deployment can show running while runtime health is degraded — the release deployed but the app is misbehaving now.

Debugging degraded health

  1. Open Logs → ECS CloudWatch tail
  2. Ask Deployment Agent for runtime health entries (HTTP code, latency)
  3. Check recent deploy or config change in History
  4. Follow Startup and Runtime Failures

ECS-specific signals

SignalInterpretation
running < desiredTasks crashing or failing health checks
rolloutState: FAILEDECS deployment circuit breaker or failed rollout
Unhealthy ALB targetsPort mismatch, app not listening on PORT, or slow startup

Related