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
{{ message }}
Repository navigation
Custom variableSyntax bug is not detected in new async variable system #3561
The recently merged async Serverless variable system PR #3554 introduces a bug where an infinite loop is produced when using the variableSyntax.
Use this serverless.yml and run serverless package. After that look into the Outputs section of the generated CloudFormation file to see that the custom variable syntax is not used.
The Problem was uncovered once all Promise usages were switched to Bluebird (see #3560) which introduced an infinte loop.
More instructions on how to reproduce the infinite loop when using Bluebird can be found in the follow-up PR which fixes some uses of native Promises where Bluebird Promises should be used --> #3560 (comment)
changed the title [-]Fix infinte-loop-bug in new async variable system[/-][+]Fix not detecting variableSyntax bug in new async variable system[/+]on May 5, 2017
changed the title [-]Fix not detecting variableSyntax bug in new async variable system[/-][+]Fix not detecting custom variableSyntax bug in new async variable system[/+]on May 5, 2017
changed the title [-]Fix not detecting custom variableSyntax bug in new async variable system[/-][+]Custom variableSyntax bug is not detected in new async variable system[/+]on May 5, 2017
no bug here, just misconfiguration. For future reference, this particular variable syntax should be in double quote because it contains escape characters => variableSyntax: "\\${{([\\s\\S]+?)}}"
Activity
[-]Fix infinte-loop-bug in new async variable system[/-][+]Fix not detecting variableSyntax bug in new async variable system[/+][-]Fix not detecting variableSyntax bug in new async variable system[/-][+]Fix not detecting custom variableSyntax bug in new async variable system[/+][-]Fix not detecting custom variableSyntax bug in new async variable system[/-][+]Custom variableSyntax bug is not detected in new async variable system[/+]eahefnawy commentedon May 8, 2017
no bug here, just misconfiguration. For future reference, this particular variable syntax should be in double quote because it contains escape characters =>
variableSyntax: "\\${{([\\s\\S]+?)}}"