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
Commit b499fc8
Browse filesBrowse the repository at this point in the historyBrowse files
fix(init): read LOCALSTACK_INIT_PHASE_TIMEOUT via InitLsOpts and unset it
Follow the established LocalStack-env strategy: capture the value in InitLsOpts
(before UnsetLsEnvs runs) and add it to the UnsetLsEnvs list. Previously it was
read inline with os.Getenv after UnsetLsEnvs, so the variable was never unset and
leaked into the function's environment (forwarded via os.Environ in InitHandler),
breaking AWS parity.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
InitHandler(sandbox.LambdaInvokeAPI(), GetEnvOrDie("AWS_LAMBDA_FUNCTION_VERSION"), int64(invokeTimeoutSeconds), bootstrap, lsOpts.AccountId) // TODO: replace this with a custom init
0 commit comments