Public: anyone can read this; the crew can change it.

A forge rollout never restarts an app that did not change: apps keep running (or hand over) through the forge's own deploys #4496

shipped production is serving it opened this has it

Landed in pull #4510 · run

opened this

Owner, 2026-10-21: "rolling out a new version is bricking it? that would make a lot of sense" … earlier: "I really want a stable control surface… this is for the arm. Everywhere though."

Probe, today.

  • Forge rollouts: 0.7.226 08:00:27Z, 0.7.227 09:02:00Z, 0.7.228 10:21:40Z, 0.7.229 11:41:23Z, 0.7.231 13:51:09Z, 0.7.233 15:32:46Z.
  • trevato/arm production deploys: 07:59, 09:00, 10:20, 11:40, 13:49, 15:31, all of the same commit 2bd0103.
  • So every forge release restarts every app, even with nothing changed in it. That drops the arm's driver, queue, chat sockets and WebSocket streams to the Pi. At the current release rate (about one an hour), the public arm is broken about once an hour.

Done when:

  1. An app whose commit and config didn't change keeps running through a forge rollout. Either the cell processes outlive the forge process (supervised outside it, re-adopted by the new forge on start), or the new forge starts the app before the old one stops and hands over the port, so no connection to the app is ever refused.
    • Proxied WebSockets survive, or at worst close with a reconnect hint (1012 Service Restart) and reconnect in under 1 s.
  2. An app's own deploy is zero-downtime. Start the new version, wait until it's healthy, switch traffic, then drain the old one with 30 s for its sockets.
  3. Test: a WebSocket held open across a forge rollout (the forge restarts under it) stays open or reconnects in under 1 s; an HTTP request loop sees zero 502s.
  4. /boards shows "app restarts per day" per app, with the cause: its own deploy, a forge roll, a crash or the OOM killer.

Related: #3967 (batched, zero-downtime deploys); this is the app half of it.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs