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
Bumped @sproutboat/runtime to ^0.6.6. __sbEntry called handlers.fetch()
(and the scheduled/queue/alarm trigger paths) with no try/catch at all:
any synchronous throw, or a rejected async handler promise, propagated all
the way up and crashed the whole process: not just the request that hit
it, but every other in-flight and future request on that sprout, until
whatever supervises it restarted the binary (baronunread/sproutboat#179). A
throwing/rejecting fetch() now returns a 500 instead. scheduled()/ alarm() still reply 204 either way (no failure signal existed before
this either); a throwing queue() falls through to the existing
default-ack pass, same as a handler that never calls ack()/retry() on
every message.
Upgrading the CLI is the only way to pick this up. The runtime prelude is
embedded in the CLI binary when that binary is built, so a project's own @sproutboat/runtime dependency has no effect on --standalone or --target host builds.