serverless-plugin-warmup: 4.3.0-rc1 causes sls deploy stucked
The latest tag 4.3.0-rc1 makes sls deploy stucked in a loop.
strace shows infinite futex() syscall causing sls to stuck in 100% CPU usage.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 26 (11 by maintainers)
Thanks, guys! I could reproduce it with @gs-jackal repo.
The problem was caused by a combination of https://github.com/serverless/serverless/pull/3911 and https://github.com/serverless/serverless/issues/2631. Basically, serverless doesn’t resolve options properly and doesn’t resolve variables at constructor time. Inferring the stage and region at constructor time was causing an endless loop within serverless for some reason (maybe I should just create a ticket in serverless about it since it should error and never go into endless loops no matter what).
Can you try 4.3.3-rc.1 and see if the issue is resolved?