I’m using the sprite-env services thing to run a bun script that listens on 8080. The URL is public and used by a Slack app. The bot stopped responding at some point and stayed that way until I sprite console’d in to investigate.
Actually we have a theory. When the Sprite compute gets replaced and boots back up, it starts services then goes idle immediately. We think it may be idling before the bun service can fully start, and consoling in just kept it alive long enough to finish.
We have some improvements already merged that should help with this. If a service has an http port specified, it will retry for quite a while before it errors.