Pgrest - PostgREST/Supabase, but in Elixir/Ecto

Docker Swarm assumes containers are interchangeable. Mine weren't.

A 40-minute agent run exited 0 and lost 100% of its output. The poll loop saw ExitCode 0 while an intermediary severed the idle stdout stream, and the identical 3-minute planning run was fine. Swarm assumes containers are interchangeable; an agent session is a stateful 40-minute pin.

The fix: tee output to a file inside the container and treat the stream as a nice-to-have, because “successful run” and “total data loss” produced identical observations.

https://t0ha.dev/en/elixir/devops/2026/11/24/swarm-assumes-stateless.html