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
Lambda layer crashes when LambdaInsights is enabled. #6293
Comments
It seems that the |
To be clear, this is the same issue as mentioned before the port change in the lambda layer: #5752 (comment) |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
@sl0thentr0py Since Anton is still on vacation, would you mind taking a quick look at this as I think you already did once in #6093? |
the port is already changed, so this should be fine with latest layer |
I made the change 22 days after your release as mentioned above, at the time of writing this is using the latest layer following up on a different reported issue after the change went in. Can you actually confirm it was in by the time that lambda layer was released, and that it works with lambda insights? If you tell me sentry's layer runs fine with lambda insights, I will recheck this and reproduce it in a project for you. |
@Lms24 Can this remain open, I've rechecked it. Same issue on
The code is just:
🤷♂️ |
Okay I've found the issue. @sl0thentr0py The layer isn't being built with https://github.com/getsentry/action-build-aws-lambda-extension/blob/68818ccadd075f74010e80fe350f205554a16d99/action.yml#L41-L57 You can confirm it by fetching the layer from AWS:
Outputs:
Seems like it's missing both |
yea just found that as well, apologies and thanks for investigating. |
ok something was lost in communication with the action author, sorry for that. |
Cool cool, thanks. :) |
good to go, I think they're gonna release today so good timing :) |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/serverless
SDK Version
arn:aws:lambda:ap-southeast-1:943013980633:layer:SentryNodeServerlessSDK:92
Framework Version
node 14.x
Link to Sentry event
No response
Steps to Reproduce
Since #6093 was merged 22 days ago there has been new releases, but the issue seem to persists.
Given:
The lambda crashes with:
If I remove
layer:LambdaInsightsExtension
the lambda now runs. The last known version that works in this configuration is sentry layer 68.Expected Result
Not to crash
Actual Result
boom
The text was updated successfully, but these errors were encountered: