Skip to content

Conversation

@alexgallotta
Copy link
Contributor

AWS_LAMBDA_RUNTIME_API and use a proxy

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS_LAMBDA_RUNTIME_API and use a proxy
@alexgallotta alexgallotta requested a review from a team as a code owner April 4, 2025 14:15
@bnusunny
Copy link
Contributor

bnusunny commented Apr 5, 2025

Nice to see this PR. I like that it proxies the runtime calls only, not the extension registration calls. This avoids the race condition between extensions.

One miner thing about env var name: I prefer to call it AWS_LWA_LAMBDA_RUNTIME_API_PROXY. And could you add a small paragraph to explain the use case of this env var? Like what we have for other configuration env vars.

@alexgallotta
Copy link
Contributor Author

Thanks for the review! I renamed the env and added some doc.
Let me know if it looks good!

Copy link
Contributor

@bnusunny bnusunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bnusunny bnusunny merged commit 9a96644 into awslabs:main Apr 12, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants