You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
compose: the control plane is killed before shutdown records its streams offline (no stop_grace_period) #259
docker-compose.yml sets no stop_grace_period for the innerwall service. Docker then sends SIGKILL ten seconds after SIGTERM, its default. With agents connected, innerwall serve spends those ten seconds on its graceful window, because sync streams never end on their own. Only after that does it end the streams, and since #258 it then waits up to five seconds more for their handlers to record each workload offline.
So under the supported compose deployment, docker compose stop, down, or up with a new image kills the control plane at about the moment it starts ending streams. The offline marks that #113 / #258 make reliable are lost there, and whatever else the handlers write on the way out is cut off.
Likely fix. Set stop_grace_period on the innerwall service to cover the serve bound, at least 15 s (20 s leaves margin), with a comment naming the bound in docs/reference/innerwall-cli.md (serve). Check whether any other supervisor the docs describe (a systemd unit, if one is documented) needs the same.
Activity