-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maintenance: move redundant code and functionalities in shared commons package #484
Comments
An internal RFC for centralising the cold start logic in the |
First batch of changes regarding the cold start heuristic have been implemented in |
We'll focus on moving the EnvironmentVariable helper class and close this ticket for Production Release. |
Update about this issue: we addressed successfully the cold start logic separation. |
|
This issue was a dependency of #165. For the time being I have added #165 in the issue text of #846 as it has a fair bit of context & research on how the environment variables are being used. @saragerion With that said I would consider deprioritising that issue (currently is labeled as medium) or closing it entirely in favor of #846 similar to what done in this one. |
Description of the feature request
The execution of this issue should be divided into 3 steps:
Problem statement
Right now there is a number of functionalities that are repeated throughout the 3 different utilities, all with their own business logic and separated unit tests.
This is not optimal because:
Summary of the feature
See above.
Code examples
Benefits for you and the wider AWS community
Describe alternatives you've considered
Additional context
See here:
https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/packages/logger/src/config/EnvironmentVariablesService.ts
https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/packages/logger/src/Logger.ts#L92
Related issues, RFCs
#165
N/A
The text was updated successfully, but these errors were encountered: