mapbox / streambot

DEPRECATED (SEE README) Robot-assisted deploys to Lambda
ISC License
39 stars 7 forks source link

Silent failures #38

Open rclark opened 8 years ago

rclark commented 8 years ago

Very rarely, streambot-wrapped functions appear to fail silently, before the service function even gets called. This manifests as logs that look like:

2016-01-12T22:19:44.046Z    257dba2f-de7b-464c-acd1-6e906c32ea4b    Start time: 2016-01-12T22:19:44.046Z
2016-01-12T22:19:44.046Z    257dba2f-de7b-464c-acd1-6e906c32ea4b    Load Environment: {"TableName":"streambot-env","Key":{"name":{"S":"my-function-name"}}}
END RequestId: 257dba2f-de7b-464c-acd1-6e906c32ea4b
REPORT RequestId: 257dba2f-de7b-464c-acd1-6e906c32ea4b  Duration: 70.84 ms  Billed Duration: 100 ms     Memory Size: 750 MB Max Memory Used: 41 MB
Process exited before completing request

I really can't see any way for the function to fail here --- and there's not a lot of code. Plus, syntax errors or other failures ought to result in something getting logged. These functions seem to just... vanish.