rubyonjets / jets

Ruby on Jets
http://rubyonjets.com
MIT License
2.6k stars 181 forks source link

fix prewarming post deploy #723

Closed tongueroo closed 6 months ago

tongueroo commented 6 months ago

This is a 🐞 bug fix.

Summary

Fixes the prewarming call post jets deploy. Using invocation_type: RequestResponse so there's a resp.payload from the resp = lambda_client.invoke call.

Future versions of Jets uses a RequestResponse invocation time also because the extra resp.payload data is useful for printing and debugging.

Context

Reported in the community forums https://community.boltops.com/t/cant-deploy-basic-api/1160/5

How to Test

Go through one of the Jets learn guides

Version Changes

Patch

tongueroo commented 6 months ago

Released in 5.0.13